Text Compare
Produced: 7/19/2015 1:53:32 PM
   
Mode:  All, With Context  
Left file: C:\mksong\workspace_genproglase\genproglase-output-r1658\template09\0718-1345\libtiff-bug-2007-07-19-ce4b7af-7d6e298\sanity\libtiff\tif_dirinfo.c  
Right file: C:\mksong\workspace_genproglase\genproglase-output-r1658\template09\0718-1345\libtiff-bug-2007-07-19-ce4b7af-7d6e298\000000\libtiff\tif_dirinfo.c  
1 typedef unsigned char __u_char; = 1 typedef unsigned char __u_char;
2 typedef unsigned short __u_short;   2 typedef unsigned short __u_short;
3 typedef unsigned int __u_int;   3 typedef unsigned int __u_int;
4 typedef unsigned long __u_long;   4 typedef unsigned long __u_long;
5 typedef signed char __int8_t;   5 typedef signed char __int8_t;
6 typedef unsigned char __uint8_t;   6 typedef unsigned char __uint8_t;
7 typedef short __int16_t;   7 typedef short __int16_t;
8 typedef unsigned short __uint16_t;   8 typedef unsigned short __uint16_t;
9 typedef int __int32_t;   9 typedef int __int32_t;
10 typedef unsigned int __uint32_t;   10 typedef unsigned int __uint32_t;
11 typedef long long __int64_t;   11 typedef long long __int64_t;
12 typedef unsigned long long __uint64_t;   12 typedef unsigned long long __uint64_t;
13 typedef long long __quad_t;   13 typedef long long __quad_t;
14 typedef unsigned long long __u_quad_t;   14 typedef unsigned long long __u_quad_t;
15 typedef __u_quad_t __dev_t;   15 typedef __u_quad_t __dev_t;
16 typedef unsigned int __uid_t;   16 typedef unsigned int __uid_t;
17 typedef unsigned int __gid_t;   17 typedef unsigned int __gid_t;
18 typedef unsigned long __ino_t;   18 typedef unsigned long __ino_t;
19 typedef __u_quad_t __ino64_t;   19 typedef __u_quad_t __ino64_t;
20 typedef unsigned int __mode_t;   20 typedef unsigned int __mode_t;
21 typedef unsigned int __nlink_t;   21 typedef unsigned int __nlink_t;
22 typedef long __off_t;   22 typedef long __off_t;
23 typedef __quad_t __off64_t;   23 typedef __quad_t __off64_t;
24 typedef int __pid_t;   24 typedef int __pid_t;
25 struct __anonstruct___fsid_t_1 {   25 struct __anonstruct___fsid_t_1 {
26    int __val[2] ;   26    int __val[2] ;
27 };   27 };
28 typedef struct __anonstruct___fsid_t_1 __fsid_t;   28 typedef struct __anonstruct___fsid_t_1 __fsid_t;
29 typedef long __clock_t;   29 typedef long __clock_t;
30 typedef unsigned long __rlim_t;   30 typedef unsigned long __rlim_t;
31 typedef __u_quad_t __rlim64_t;   31 typedef __u_quad_t __rlim64_t;
32 typedef unsigned int __id_t;   32 typedef unsigned int __id_t;
33 typedef long __time_t;   33 typedef long __time_t;
34 typedef unsigned int __useconds_t;   34 typedef unsigned int __useconds_t;
35 typedef long __suseconds_t;   35 typedef long __suseconds_t;
36 typedef int __daddr_t;   36 typedef int __daddr_t;
37 typedef long __swblk_t;   37 typedef long __swblk_t;
38 typedef int __key_t;   38 typedef int __key_t;
39 typedef int __clockid_t;   39 typedef int __clockid_t;
40 typedef void *__timer_t;   40 typedef void *__timer_t;
41 typedef long __blksize_t;   41 typedef long __blksize_t;
42 typedef long __blkcnt_t;   42 typedef long __blkcnt_t;
43 typedef __quad_t __blkcnt64_t;   43 typedef __quad_t __blkcnt64_t;
44 typedef unsigned long __fsblkcnt_t;   44 typedef unsigned long __fsblkcnt_t;
45 typedef __u_quad_t __fsblkcnt64_t;   45 typedef __u_quad_t __fsblkcnt64_t;
46 typedef unsigned long __fsfilcnt_t;   46 typedef unsigned long __fsfilcnt_t;
47 typedef __u_quad_t __fsfilcnt64_t;   47 typedef __u_quad_t __fsfilcnt64_t;
48 typedef int __ssize_t;   48 typedef int __ssize_t;
49 typedef __off64_t __loff_t;   49 typedef __off64_t __loff_t;
50 typedef __quad_t *__qaddr_t;   50 typedef __quad_t *__qaddr_t;
51 typedef char *__caddr_t;   51 typedef char *__caddr_t;
52 typedef int __intptr_t;   52 typedef int __intptr_t;
53 typedef unsigned int __socklen_t;   53 typedef unsigned int __socklen_t;
54 typedef __u_char u_char;   54 typedef __u_char u_char;
55 typedef __u_short u_short;   55 typedef __u_short u_short;
56 typedef __u_int u_int;   56 typedef __u_int u_int;
57 typedef __u_long u_long;   57 typedef __u_long u_long;
58 typedef __quad_t quad_t;   58 typedef __quad_t quad_t;
59 typedef __u_quad_t u_quad_t;   59 typedef __u_quad_t u_quad_t;
60 typedef __fsid_t fsid_t;   60 typedef __fsid_t fsid_t;
61 typedef __loff_t loff_t;   61 typedef __loff_t loff_t;
62 typedef __ino64_t ino_t;   62 typedef __ino64_t ino_t;
63 typedef __dev_t dev_t;   63 typedef __dev_t dev_t;
64 typedef __gid_t gid_t;   64 typedef __gid_t gid_t;
65 typedef __mode_t mode_t;   65 typedef __mode_t mode_t;
66 typedef __nlink_t nlink_t;   66 typedef __nlink_t nlink_t;
67 typedef __uid_t uid_t;   67 typedef __uid_t uid_t;
68 typedef __off64_t off_t;   68 typedef __off64_t off_t;
69 typedef __pid_t pid_t;   69 typedef __pid_t pid_t;
70 typedef __id_t id_t;   70 typedef __id_t id_t;
71 typedef __ssize_t ssize_t;   71 typedef __ssize_t ssize_t;
72 typedef __daddr_t daddr_t;   72 typedef __daddr_t daddr_t;
73 typedef __caddr_t caddr_t;   73 typedef __caddr_t caddr_t;
74 typedef __key_t key_t;   74 typedef __key_t key_t;
75 typedef __clock_t clock_t;   75 typedef __clock_t clock_t;
76 typedef __time_t time_t;   76 typedef __time_t time_t;
77 typedef __clockid_t clockid_t;   77 typedef __clockid_t clockid_t;
78 typedef __timer_t timer_t;   78 typedef __timer_t timer_t;
79 typedef unsigned int size_t;   79 typedef unsigned int size_t;
80 typedef unsigned long ulong;   80 typedef unsigned long ulong;
81 typedef unsigned short ushort;   81 typedef unsigned short ushort;
82 typedef unsigned int uint;   82 typedef unsigned int uint;
83 typedef signed char int8_t;   83 typedef signed char int8_t;
84 typedef short int16_t;   84 typedef short int16_t;
85 typedef int int32_t;   85 typedef int int32_t;
86 typedef long long int64_t;   86 typedef long long int64_t;
87 typedef unsigned char u_int8_t;   87 typedef unsigned char u_int8_t;
88 typedef unsigned short u_int16_t;   88 typedef unsigned short u_int16_t;
89 typedef unsigned int u_int32_t;   89 typedef unsigned int u_int32_t;
90 typedef unsigned long long u_int64_t;   90 typedef unsigned long long u_int64_t;
91 typedef int register_t;   91 typedef int register_t;
92 typedef int __sig_atomic_t;   92 typedef int __sig_atomic_t;
93 struct __anonstruct___sigset_t_2 {   93 struct __anonstruct___sigset_t_2 {
94    unsigned long __val[1024U / (8U * sizeof(unsigned long ))] ;   94    unsigned long __val[1024U / (8U * sizeof(unsigned long ))] ;
95 };   95 };
96 typedef struct __anonstruct___sigset_t_2 __sigset_t;   96 typedef struct __anonstruct___sigset_t_2 __sigset_t;
97 typedef __sigset_t sigset_t;   97 typedef __sigset_t sigset_t;
98 struct timespec {   98 struct timespec {
99    __time_t tv_sec ;   99    __time_t tv_sec ;
100    long tv_nsec ;   100    long tv_nsec ;
101 };   101 };
102 struct timeval {   102 struct timeval {
103    __time_t tv_sec ;   103    __time_t tv_sec ;
104    __suseconds_t tv_usec ;   104    __suseconds_t tv_usec ;
105 };   105 };
106 typedef __suseconds_t suseconds_t;   106 typedef __suseconds_t suseconds_t;
107 typedef long __fd_mask;   107 typedef long __fd_mask;
108 struct __anonstruct_fd_set_3 {   108 struct __anonstruct_fd_set_3 {
109    __fd_mask __fds_bits[1024 / (8 * (int )sizeof(__fd_mask ))] ;   109    __fd_mask __fds_bits[1024 / (8 * (int )sizeof(__fd_mask ))] ;
110 };   110 };
111 typedef struct __anonstruct_fd_set_3 fd_set;   111 typedef struct __anonstruct_fd_set_3 fd_set;
112 typedef __fd_mask fd_mask;   112 typedef __fd_mask fd_mask;
113 typedef __blksize_t blksize_t;   113 typedef __blksize_t blksize_t;
114 typedef __blkcnt64_t blkcnt_t;   114 typedef __blkcnt64_t blkcnt_t;
115 typedef __fsblkcnt64_t fsblkcnt_t;   115 typedef __fsblkcnt64_t fsblkcnt_t;
116 typedef __fsfilcnt64_t fsfilcnt_t;   116 typedef __fsfilcnt64_t fsfilcnt_t;
117 typedef unsigned long pthread_t;   117 typedef unsigned long pthread_t;
118 union __anonunion_pthread_attr_t_4 {   118 union __anonunion_pthread_attr_t_4 {
119    char __size[36] ;   119    char __size[36] ;
120    long __align ;   120    long __align ;
121 };   121 };
122 typedef union __anonunion_pthread_attr_t_4 pthread_attr_t;   122 typedef union __anonunion_pthread_attr_t_4 pthread_attr_t;
123 struct __pthread_internal_slist {   123 struct __pthread_internal_slist {
124    struct __pthread_internal_slist *__next ;   124    struct __pthread_internal_slist *__next ;
125 };   125 };
126 typedef struct __pthread_internal_slist __pthread_slist_t;   126 typedef struct __pthread_internal_slist __pthread_slist_t;
127 union __anonunion____missing_field_name_6 {   127 union __anonunion____missing_field_name_6 {
128    int __spins ;   128    int __spins ;
129    __pthread_slist_t __list ;   129    __pthread_slist_t __list ;
130 };   130 };
131 struct __pthread_mutex_s {   131 struct __pthread_mutex_s {
132    int __lock ;   132    int __lock ;
133    unsigned int __count ;   133    unsigned int __count ;
134    int __owner ;   134    int __owner ;
135    int __kind ;   135    int __kind ;
136    unsigned int __nusers ;   136    unsigned int __nusers ;
137    union __anonunion____missing_field_name_6 __annonCompField1 ;   137    union __anonunion____missing_field_name_6 __annonCompField1 ;
138 };   138 };
139 union __anonunion_pthread_mutex_t_5 {   139 union __anonunion_pthread_mutex_t_5 {
140    struct __pthread_mutex_s __data ;   140    struct __pthread_mutex_s __data ;
141    char __size[24] ;   141    char __size[24] ;
142    long __align ;   142    long __align ;
143 };   143 };
144 typedef union __anonunion_pthread_mutex_t_5 pthread_mutex_t;   144 typedef union __anonunion_pthread_mutex_t_5 pthread_mutex_t;
145 union __anonunion_pthread_mutexattr_t_7 {   145 union __anonunion_pthread_mutexattr_t_7 {
146    char __size[4] ;   146    char __size[4] ;
147    long __align ;   147    long __align ;
148 };   148 };
149 typedef union __anonunion_pthread_mutexattr_t_7 pthread_mutexattr_t;   149 typedef union __anonunion_pthread_mutexattr_t_7 pthread_mutexattr_t;
150 struct __anonstruct___data_9 {   150 struct __anonstruct___data_9 {
151    int __lock ;   151    int __lock ;
152    unsigned int __futex ;   152    unsigned int __futex ;
153    unsigned long long __total_seq ;   153    unsigned long long __total_seq ;
154    unsigned long long __wakeup_seq ;   154    unsigned long long __wakeup_seq ;
155    unsigned long long __woken_seq ;   155    unsigned long long __woken_seq ;
156    void *__mutex ;   156    void *__mutex ;
157    unsigned int __nwaiters ;   157    unsigned int __nwaiters ;
158    unsigned int __broadcast_seq ;   158    unsigned int __broadcast_seq ;
159 };   159 };
160 union __anonunion_pthread_cond_t_8 {   160 union __anonunion_pthread_cond_t_8 {
161    struct __anonstruct___data_9 __data ;   161    struct __anonstruct___data_9 __data ;
162    char __size[48] ;   162    char __size[48] ;
163    long long __align ;   163    long long __align ;
164 };   164 };
165 typedef union __anonunion_pthread_cond_t_8 pthread_cond_t;   165 typedef union __anonunion_pthread_cond_t_8 pthread_cond_t;
166 union __anonunion_pthread_condattr_t_10 {   166 union __anonunion_pthread_condattr_t_10 {
167    char __size[4] ;   167    char __size[4] ;
168    long __align ;   168    long __align ;
169 };   169 };
170 typedef union __anonunion_pthread_condattr_t_10 pthread_condattr_t;   170 typedef union __anonunion_pthread_condattr_t_10 pthread_condattr_t;
171 typedef unsigned int pthread_key_t;   171 typedef unsigned int pthread_key_t;
172 typedef int pthread_once_t;   172 typedef int pthread_once_t;
173 struct __anonstruct___data_12 {   173 struct __anonstruct___data_12 {
174    int __lock ;   174    int __lock ;
175    unsigned int __nr_readers ;   175    unsigned int __nr_readers ;
176    unsigned int __readers_wakeup ;   176    unsigned int __readers_wakeup ;
177    unsigned int __writer_wakeup ;   177    unsigned int __writer_wakeup ;
178    unsigned int __nr_readers_queued ;   178    unsigned int __nr_readers_queued ;
179    unsigned int __nr_writers_queued ;   179    unsigned int __nr_writers_queued ;
180    unsigned char __flags ;   180    unsigned char __flags ;
181    unsigned char __shared ;   181    unsigned char __shared ;
182    unsigned char __pad1 ;   182    unsigned char __pad1 ;
183    unsigned char __pad2 ;   183    unsigned char __pad2 ;
184    int __writer ;   184    int __writer ;
185 };   185 };
186 union __anonunion_pthread_rwlock_t_11 {   186 union __anonunion_pthread_rwlock_t_11 {
187    struct __anonstruct___data_12 __data ;   187    struct __anonstruct___data_12 __data ;
188    char __size[32] ;   188    char __size[32] ;
189    long __align ;   189    long __align ;
190 };   190 };
191 typedef union __anonunion_pthread_rwlock_t_11 pthread_rwlock_t;   191 typedef union __anonunion_pthread_rwlock_t_11 pthread_rwlock_t;
192 union __anonunion_pthread_rwlockattr_t_13 {   192 union __anonunion_pthread_rwlockattr_t_13 {
193    char __size[8] ;   193    char __size[8] ;
194    long __align ;   194    long __align ;
195 };   195 };
196 typedef union __anonunion_pthread_rwlockattr_t_13 pthread_rwlockattr_t;   196 typedef union __anonunion_pthread_rwlockattr_t_13 pthread_rwlockattr_t;
197 typedef int volatile   pthread_spinlock_t;   197 typedef int volatile   pthread_spinlock_t;
198 union __anonunion_pthread_barrier_t_14 {   198 union __anonunion_pthread_barrier_t_14 {
199    char __size[20] ;   199    char __size[20] ;
200    long __align ;   200    long __align ;
201 };   201 };
202 typedef union __anonunion_pthread_barrier_t_14 pthread_barrier_t;   202 typedef union __anonunion_pthread_barrier_t_14 pthread_barrier_t;
203 union __anonunion_pthread_barrierattr_t_15 {   203 union __anonunion_pthread_barrierattr_t_15 {
204    char __size[4] ;   204    char __size[4] ;
205    int __align ;   205    int __align ;
206 };   206 };
207 typedef union __anonunion_pthread_barrierattr_t_15 pthread_barrierattr_t;   207 typedef union __anonunion_pthread_barrierattr_t_15 pthread_barrierattr_t;
208 struct flock {   208 struct flock {
209    short l_type ;   209    short l_type ;
210    short l_whence ;   210    short l_whence ;
211    __off64_t l_start ;   211    __off64_t l_start ;
212    __off64_t l_len ;   212    __off64_t l_len ;
213    __pid_t l_pid ;   213    __pid_t l_pid ;
214 };   214 };
215 struct stat {   215 struct stat {
216    __dev_t st_dev ;   216    __dev_t st_dev ;
217    unsigned short __pad1 ;   217    unsigned short __pad1 ;
218    __ino_t __st_ino ;   218    __ino_t __st_ino ;
219    __mode_t st_mode ;   219    __mode_t st_mode ;
220    __nlink_t st_nlink ;   220    __nlink_t st_nlink ;
221    __uid_t st_uid ;   221    __uid_t st_uid ;
222    __gid_t st_gid ;   222    __gid_t st_gid ;
223    __dev_t st_rdev ;   223    __dev_t st_rdev ;
224    unsigned short __pad2 ;   224    unsigned short __pad2 ;
225    __off64_t st_size ;   225    __off64_t st_size ;
226    __blksize_t st_blksize ;   226    __blksize_t st_blksize ;
227    __blkcnt64_t st_blocks ;   227    __blkcnt64_t st_blocks ;
228    struct timespec st_atim ;   228    struct timespec st_atim ;
229    struct timespec st_mtim ;   229    struct timespec st_mtim ;
230    struct timespec st_ctim ;   230    struct timespec st_ctim ;
231    __ino64_t st_ino ;   231    __ino64_t st_ino ;
232 };   232 };
233 struct __locale_data;   233 struct __locale_data;
234 struct __locale_struct {   234 struct __locale_struct {
235    struct __locale_data *__locales[13] ;   235    struct __locale_data *__locales[13] ;
236    unsigned short const   *__ctype_b ;   236    unsigned short const   *__ctype_b ;
237    int const   *__ctype_tolower ;   237    int const   *__ctype_tolower ;
238    int const   *__ctype_toupper ;   238    int const   *__ctype_toupper ;
239    char const   *__names[13] ;   239    char const   *__names[13] ;
240 };   240 };
241 typedef struct __locale_struct *__locale_t;   241 typedef struct __locale_struct *__locale_t;
242 typedef __locale_t locale_t;   242 typedef __locale_t locale_t;
243 typedef int (*__compar_fn_t)(void const   * , void const   * );   243 typedef int (*__compar_fn_t)(void const   * , void const   * );
244 enum __anonenum_ACTION_16 {   244 enum __anonenum_ACTION_16 {
245     FIND = 0,   245     FIND = 0,
246     ENTER = 1   246     ENTER = 1
247 } ;   247 } ;
248 typedef enum __anonenum_ACTION_16 ACTION;   248 typedef enum __anonenum_ACTION_16 ACTION;
249 struct entry {   249 struct entry {
250    char *key ;   250    char *key ;
251    void *data ;   251    void *data ;
252 };   252 };
253 typedef struct entry ENTRY;   253 typedef struct entry ENTRY;
254 struct _ENTRY;   254 struct _ENTRY;
255 struct _ENTRY;   255 struct _ENTRY;
256 enum __anonenum_VISIT_17 {   256 enum __anonenum_VISIT_17 {
257     preorder = 0,   257     preorder = 0,
258     postorder = 1,   258     postorder = 1,
259     endorder = 2,   259     endorder = 2,
260     leaf = 3   260     leaf = 3
261 } ;   261 } ;
262 typedef enum __anonenum_VISIT_17 VISIT;   262 typedef enum __anonenum_VISIT_17 VISIT;
263 typedef void (*__action_fn_t)(void const   *__nodep , VISIT __value ,   263 typedef void (*__action_fn_t)(void const   *__nodep , VISIT __value ,
264                               int __level );   264                               int __level );
265 typedef signed char int8;   265 typedef signed char int8;
266 typedef unsigned char uint8;   266 typedef unsigned char uint8;
267 typedef short int16;   267 typedef short int16;
268 typedef unsigned short uint16;   268 typedef unsigned short uint16;
269 typedef int int32;   269 typedef int int32;
270 typedef unsigned int uint32;   270 typedef unsigned int uint32;
271 typedef long long int64;   271 typedef long long int64;
272 typedef unsigned long long uint64;   272 typedef unsigned long long uint64;
273 typedef int uint16_vap;   273 typedef int uint16_vap;
274 struct __anonstruct_TIFFHeaderCommon_18 {   274 struct __anonstruct_TIFFHeaderCommon_18 {
275    uint16 tiff_magic ;   275    uint16 tiff_magic ;
276    uint16 tiff_version ;   276    uint16 tiff_version ;
277 };   277 };
278 typedef struct __anonstruct_TIFFHeaderCommon_18 TIFFHeaderCommon;   278 typedef struct __anonstruct_TIFFHeaderCommon_18 TIFFHeaderCommon;
279 struct __anonstruct_TIFFHeaderClassic_19 {   279 struct __anonstruct_TIFFHeaderClassic_19 {
280    uint16 tiff_magic ;   280    uint16 tiff_magic ;
281    uint16 tiff_version ;   281    uint16 tiff_version ;
282    uint32 tiff_diroff ;   282    uint32 tiff_diroff ;
283 };   283 };
284 typedef struct __anonstruct_TIFFHeaderClassic_19 TIFFHeaderClassic;   284 typedef struct __anonstruct_TIFFHeaderClassic_19 TIFFHeaderClassic;
285 struct __anonstruct_TIFFHeaderBig_20 {   285 struct __anonstruct_TIFFHeaderBig_20 {
286    uint16 tiff_magic ;   286    uint16 tiff_magic ;
287    uint16 tiff_version ;   287    uint16 tiff_version ;
288    uint16 tiff_offsetsize ;   288    uint16 tiff_offsetsize ;
289    uint16 tiff_unused ;   289    uint16 tiff_unused ;
290    uint64 tiff_diroff ;   290    uint64 tiff_diroff ;
291 };   291 };
292 typedef struct __anonstruct_TIFFHeaderBig_20 TIFFHeaderBig;   292 typedef struct __anonstruct_TIFFHeaderBig_20 TIFFHeaderBig;
293 enum __anonenum_TIFFDataType_21 {   293 enum __anonenum_TIFFDataType_21 {
294     TIFF_NOTYPE = 0,   294     TIFF_NOTYPE = 0,
295     TIFF_BYTE = 1,   295     TIFF_BYTE = 1,
296     TIFF_ASCII = 2,   296     TIFF_ASCII = 2,
297     TIFF_SHORT = 3,   297     TIFF_SHORT = 3,
298     TIFF_LONG = 4,   298     TIFF_LONG = 4,
299     TIFF_RATIONAL = 5,   299     TIFF_RATIONAL = 5,
300     TIFF_SBYTE = 6,   300     TIFF_SBYTE = 6,
301     TIFF_UNDEFINED = 7,   301     TIFF_UNDEFINED = 7,
302     TIFF_SSHORT = 8,   302     TIFF_SSHORT = 8,
303     TIFF_SLONG = 9,   303     TIFF_SLONG = 9,
304     TIFF_SRATIONAL = 10,   304     TIFF_SRATIONAL = 10,
305     TIFF_FLOAT = 11,   305     TIFF_FLOAT = 11,
306     TIFF_DOUBLE = 12,   306     TIFF_DOUBLE = 12,
307     TIFF_IFD = 13,   307     TIFF_IFD = 13,
308     TIFF_LONG8 = 16,   308     TIFF_LONG8 = 16,
309     TIFF_SLONG8 = 17,   309     TIFF_SLONG8 = 17,
310     TIFF_IFD8 = 18   310     TIFF_IFD8 = 18
311 } ;   311 } ;
312 typedef enum __anonenum_TIFFDataType_21 TIFFDataType;   312 typedef enum __anonenum_TIFFDataType_21 TIFFDataType;
313 struct tiff;   313 struct tiff;
314 typedef struct tiff TIFF;   314 typedef struct tiff TIFF;
315 typedef long tmsize_t;   315 typedef long tmsize_t;
316 typedef uint32 ttag_t;   316 typedef uint32 ttag_t;
317 typedef uint16 tdir_t;   317 typedef uint16 tdir_t;
318 typedef uint16 tsample_t;   318 typedef uint16 tsample_t;
319 typedef uint32 tstrile_t;   319 typedef uint32 tstrile_t;
320 typedef tstrile_t tstrip_t;   320 typedef tstrile_t tstrip_t;
321 typedef tstrile_t ttile_t;   321 typedef tstrile_t ttile_t;
322 typedef tmsize_t tsize_t;   322 typedef tmsize_t tsize_t;
323 typedef void *tdata_t;   323 typedef void *tdata_t;
324 typedef uint64 toff_t;   324 typedef uint64 toff_t;
325 typedef void *thandle_t;   325 typedef void *thandle_t;
326 typedef unsigned char TIFFRGBValue;   326 typedef unsigned char TIFFRGBValue;
327 struct __anonstruct_TIFFDisplay_22 {   327 struct __anonstruct_TIFFDisplay_22 {
328    float d_mat[3][3] ;   328    float d_mat[3][3] ;
329    float d_YCR ;   329    float d_YCR ;
330    float d_YCG ;   330    float d_YCG ;
331    float d_YCB ;   331    float d_YCB ;
332    uint32 d_Vrwr ;   332    uint32 d_Vrwr ;
333    uint32 d_Vrwg ;   333    uint32 d_Vrwg ;
334    uint32 d_Vrwb ;   334    uint32 d_Vrwb ;
335    float d_Y0R ;   335    float d_Y0R ;
336    float d_Y0G ;   336    float d_Y0G ;
337    float d_Y0B ;   337    float d_Y0B ;
338    float d_gammaR ;   338    float d_gammaR ;
339    float d_gammaG ;   339    float d_gammaG ;
340    float d_gammaB ;   340    float d_gammaB ;
341 };   341 };
342 typedef struct __anonstruct_TIFFDisplay_22 TIFFDisplay;   342 typedef struct __anonstruct_TIFFDisplay_22 TIFFDisplay;
343 struct __anonstruct_TIFFYCbCrToRGB_23 {   343 struct __anonstruct_TIFFYCbCrToRGB_23 {
344    TIFFRGBValue *clamptab ;   344    TIFFRGBValue *clamptab ;
345    int *Cr_r_tab ;   345    int *Cr_r_tab ;
346    int *Cb_b_tab ;   346    int *Cb_b_tab ;
347    int32 *Cr_g_tab ;   347    int32 *Cr_g_tab ;
348    int32 *Cb_g_tab ;   348    int32 *Cb_g_tab ;
349    int32 *Y_tab ;   349    int32 *Y_tab ;
350 };   350 };
351 typedef struct __anonstruct_TIFFYCbCrToRGB_23 TIFFYCbCrToRGB;   351 typedef struct __anonstruct_TIFFYCbCrToRGB_23 TIFFYCbCrToRGB;
352 struct __anonstruct_TIFFCIELabToRGB_24 {   352 struct __anonstruct_TIFFCIELabToRGB_24 {
353    int range ;   353    int range ;
354    float rstep ;   354    float rstep ;
355    float gstep ;   355    float gstep ;
356    float bstep ;   356    float bstep ;
357    float X0 ;   357    float X0 ;
358    float Y0 ;   358    float Y0 ;
359    float Z0 ;   359    float Z0 ;
360    TIFFDisplay display ;   360    TIFFDisplay display ;
361    float Yr2r[1501] ;   361    float Yr2r[1501] ;
362    float Yg2g[1501] ;   362    float Yg2g[1501] ;
363    float Yb2b[1501] ;   363    float Yb2b[1501] ;
364 };   364 };
365 typedef struct __anonstruct_TIFFCIELabToRGB_24 TIFFCIELabToRGB;   365 typedef struct __anonstruct_TIFFCIELabToRGB_24 TIFFCIELabToRGB;
366 struct _TIFFRGBAImage;   366 struct _TIFFRGBAImage;
367 typedef struct _TIFFRGBAImage TIFFRGBAImage;   367 typedef struct _TIFFRGBAImage TIFFRGBAImage;
368 typedef void (*tileContigRoutine)(TIFFRGBAImage * , uint32 * , uint32  ,   368 typedef void (*tileContigRoutine)(TIFFRGBAImage * , uint32 * , uint32  ,
369                                   uint32  , uint32  , uint32  , int32  ,   369                                   uint32  , uint32  , uint32  , int32  ,
370                                   int32  , unsigned char * );   370                                   int32  , unsigned char * );
371 typedef void (*tileSeparateRoutine)(TIFFRGBAImage * , uint32 * , uint32  ,   371 typedef void (*tileSeparateRoutine)(TIFFRGBAImage * , uint32 * , uint32  ,
372                                     uint32  , uint32  , uint32  , int32  ,   372                                     uint32  , uint32  , uint32  , int32  ,
373                                     int32  , unsigned char * , unsigned char * ,   373                                     int32  , unsigned char * , unsigned char * ,
374                                     unsigned char * , unsigned char * );   374                                     unsigned char * , unsigned char * );
375 union __anonunion_put_25 {   375 union __anonunion_put_25 {
376    void (*any)(TIFFRGBAImage * ) ;   376    void (*any)(TIFFRGBAImage * ) ;
377    void (*contig)(TIFFRGBAImage * , uint32 * , uint32  , uint32  , uint32  ,   377    void (*contig)(TIFFRGBAImage * , uint32 * , uint32  , uint32  , uint32  ,
378                   uint32  , int32  , int32  , unsigned char * ) ;   378                   uint32  , int32  , int32  , unsigned char * ) ;
379    void (*separate)(TIFFRGBAImage * , uint32 * , uint32  , uint32  , uint32  ,   379    void (*separate)(TIFFRGBAImage * , uint32 * , uint32  , uint32  , uint32  ,
380                     uint32  , int32  , int32  , unsigned char * ,   380                     uint32  , int32  , int32  , unsigned char * ,
381                     unsigned char * , unsigned char * , unsigned char * ) ;   381                     unsigned char * , unsigned char * , unsigned char * ) ;
382 };   382 };
383 struct _TIFFRGBAImage {   383 struct _TIFFRGBAImage {
384    TIFF *tif ;   384    TIFF *tif ;
385    int stoponerr ;   385    int stoponerr ;
386    int isContig ;   386    int isContig ;
387    int alpha ;   387    int alpha ;
388    uint32 width ;   388    uint32 width ;
389    uint32 height ;   389    uint32 height ;
390    uint16 SubsamplingHor ;   390    uint16 SubsamplingHor ;
391    uint16 SubsamplingVer ;   391    uint16 SubsamplingVer ;
392    uint16 bitspersample ;   392    uint16 bitspersample ;
393    uint16 samplesperpixel ;   393    uint16 samplesperpixel ;
394    uint16 orientation ;   394    uint16 orientation ;
395    uint16 req_orientation ;   395    uint16 req_orientation ;
396    uint16 photometric ;   396    uint16 photometric ;
397    uint16 *redcmap ;   397    uint16 *redcmap ;
398    uint16 *greencmap ;   398    uint16 *greencmap ;
399    uint16 *bluecmap ;   399    uint16 *bluecmap ;
400    int (*get)(TIFFRGBAImage * , uint32 * , uint32  , uint32  ) ;   400    int (*get)(TIFFRGBAImage * , uint32 * , uint32  , uint32  ) ;
401    union __anonunion_put_25 put ;   401    union __anonunion_put_25 put ;
402    TIFFRGBValue *Map ;   402    TIFFRGBValue *Map ;
403    uint32 **BWmap ;   403    uint32 **BWmap ;
404    uint32 **PALmap ;   404    uint32 **PALmap ;
405    TIFFYCbCrToRGB *ycbcr ;   405    TIFFYCbCrToRGB *ycbcr ;
406    TIFFCIELabToRGB *cielab ;   406    TIFFCIELabToRGB *cielab ;
407    uint8 *UaToAa ;   407    uint8 *UaToAa ;
408    uint8 *Bitdepth16To8 ;   408    uint8 *Bitdepth16To8 ;
409    int row_offset ;   409    int row_offset ;
410    int col_offset ;   410    int col_offset ;
411 };   411 };
412 typedef int (*TIFFInitMethod)(TIFF * , int  );   412 typedef int (*TIFFInitMethod)(TIFF * , int  );
413 struct __anonstruct_TIFFCodec_26 {   413 struct __anonstruct_TIFFCodec_26 {
414    char *name ;   414    char *name ;
415    uint16 scheme ;   415    uint16 scheme ;
416    int (*init)(TIFF * , int  ) ;   416    int (*init)(TIFF * , int  ) ;
417 };   417 };
418 typedef struct __anonstruct_TIFFCodec_26 TIFFCodec;   418 typedef struct __anonstruct_TIFFCodec_26 TIFFCodec;
419 struct _IO_FILE;   419 struct _IO_FILE;
420 struct _IO_FILE;   420 struct _IO_FILE;
421 typedef struct _IO_FILE FILE;   421 typedef struct _IO_FILE FILE;
422 typedef struct _IO_FILE __FILE;   422 typedef struct _IO_FILE __FILE;
423 union __anonunion___value_28 {   423 union __anonunion___value_28 {
424    unsigned int __wch ;   424    unsigned int __wch ;
425    char __wchb[4] ;   425    char __wchb[4] ;
426 };   426 };
427 struct __anonstruct___mbstate_t_27 {   427 struct __anonstruct___mbstate_t_27 {
428    int __count ;   428    int __count ;
429    union __anonunion___value_28 __value ;   429    union __anonunion___value_28 __value ;
430 };   430 };
431 typedef struct __anonstruct___mbstate_t_27 __mbstate_t;   431 typedef struct __anonstruct___mbstate_t_27 __mbstate_t;
432 struct __anonstruct__G_fpos_t_29 {   432 struct __anonstruct__G_fpos_t_29 {
433    __off_t __pos ;   433    __off_t __pos ;
434    __mbstate_t __state ;   434    __mbstate_t __state ;
435 };   435 };
436 typedef struct __anonstruct__G_fpos_t_29 _G_fpos_t;   436 typedef struct __anonstruct__G_fpos_t_29 _G_fpos_t;
437 struct __anonstruct__G_fpos64_t_30 {   437 struct __anonstruct__G_fpos64_t_30 {
438    __off64_t __pos ;   438    __off64_t __pos ;
439    __mbstate_t __state ;   439    __mbstate_t __state ;
440 };   440 };
441 typedef struct __anonstruct__G_fpos64_t_30 _G_fpos64_t;   441 typedef struct __anonstruct__G_fpos64_t_30 _G_fpos64_t;
442 typedef short _G_int16_t;   442 typedef short _G_int16_t;
443 typedef int _G_int32_t;   443 typedef int _G_int32_t;
444 typedef unsigned short _G_uint16_t;   444 typedef unsigned short _G_uint16_t;
445 typedef unsigned int _G_uint32_t;   445 typedef unsigned int _G_uint32_t;
446 typedef __builtin_va_list __gnuc_va_list;   446 typedef __builtin_va_list __gnuc_va_list;
447 struct _IO_jump_t;   447 struct _IO_jump_t;
448 struct _IO_jump_t;   448 struct _IO_jump_t;
449 struct _IO_FILE;   449 struct _IO_FILE;
450 typedef void _IO_lock_t;   450 typedef void _IO_lock_t;
451 struct _IO_marker {   451 struct _IO_marker {
452    struct _IO_marker *_next ;   452    struct _IO_marker *_next ;
453    struct _IO_FILE *_sbuf ;   453    struct _IO_FILE *_sbuf ;
454    int _pos ;   454    int _pos ;
455 };   455 };
456 enum __codecvt_result {   456 enum __codecvt_result {
457     __codecvt_ok = 0,   457     __codecvt_ok = 0,
458     __codecvt_partial = 1,   458     __codecvt_partial = 1,
459     __codecvt_error = 2,   459     __codecvt_error = 2,
460     __codecvt_noconv = 3   460     __codecvt_noconv = 3
461 } ;   461 } ;
462 struct _IO_FILE {   462 struct _IO_FILE {
463    int _flags ;   463    int _flags ;
464    char *_IO_read_ptr ;   464    char *_IO_read_ptr ;
465    char *_IO_read_end ;   465    char *_IO_read_end ;
466    char *_IO_read_base ;   466    char *_IO_read_base ;
467    char *_IO_write_base ;   467    char *_IO_write_base ;
468    char *_IO_write_ptr ;   468    char *_IO_write_ptr ;
469    char *_IO_write_end ;   469    char *_IO_write_end ;
470    char *_IO_buf_base ;   470    char *_IO_buf_base ;
471    char *_IO_buf_end ;   471    char *_IO_buf_end ;
472    char *_IO_save_base ;   472    char *_IO_save_base ;
473    char *_IO_backup_base ;   473    char *_IO_backup_base ;
474    char *_IO_save_end ;   474    char *_IO_save_end ;
475    struct _IO_marker *_markers ;   475    struct _IO_marker *_markers ;
476    struct _IO_FILE *_chain ;   476    struct _IO_FILE *_chain ;
477    int _fileno ;   477    int _fileno ;
478    int _flags2 ;   478    int _flags2 ;
479    __off_t _old_offset ;   479    __off_t _old_offset ;
480    unsigned short _cur_column ;   480    unsigned short _cur_column ;
481    signed char _vtable_offset ;   481    signed char _vtable_offset ;
482    char _shortbuf[1] ;   482    char _shortbuf[1] ;
483    _IO_lock_t *_lock ;   483    _IO_lock_t *_lock ;
484    __off64_t _offset ;   484    __off64_t _offset ;
485    void *__pad1 ;   485    void *__pad1 ;
486    void *__pad2 ;   486    void *__pad2 ;
487    void *__pad3 ;   487    void *__pad3 ;
488    void *__pad4 ;   488    void *__pad4 ;
489    size_t __pad5 ;   489    size_t __pad5 ;
490    int _mode ;   490    int _mode ;
491    char _unused2[(15U * sizeof(int ) - 4U * sizeof(void *)) - sizeof(size_t )] ;   491    char _unused2[(15U * sizeof(int ) - 4U * sizeof(void *)) - sizeof(size_t )] ;
492 };   492 };
493 typedef struct _IO_FILE _IO_FILE;   493 typedef struct _IO_FILE _IO_FILE;
494 struct _IO_FILE_plus;   494 struct _IO_FILE_plus;
495 struct _IO_FILE_plus;   495 struct _IO_FILE_plus;
496 typedef __ssize_t __io_read_fn(void *__cookie , char *__buf , size_t __nbytes );   496 typedef __ssize_t __io_read_fn(void *__cookie , char *__buf , size_t __nbytes );
497 typedef __ssize_t __io_write_fn(void *__cookie , char const   *__buf ,   497 typedef __ssize_t __io_write_fn(void *__cookie , char const   *__buf ,
498                                 size_t __n );   498                                 size_t __n );
499 typedef int __io_seek_fn(void *__cookie , __off64_t *__pos , int __w );   499 typedef int __io_seek_fn(void *__cookie , __off64_t *__pos , int __w );
500 typedef int __io_close_fn(void *__cookie );   500 typedef int __io_close_fn(void *__cookie );
501 typedef __gnuc_va_list va_list;   501 typedef __gnuc_va_list va_list;
502 typedef _G_fpos64_t fpos_t;   502 typedef _G_fpos64_t fpos_t;
503 typedef void (*TIFFErrorHandler)(char const   * , char const   * , va_list  );   503 typedef void (*TIFFErrorHandler)(char const   * , char const   * , va_list  );
504 typedef void (*TIFFErrorHandlerExt)(thandle_t  , char const   * ,   504 typedef void (*TIFFErrorHandlerExt)(thandle_t  , char const   * ,
505                                     char const   * , va_list  );   505                                     char const   * , va_list  );
506 typedef tmsize_t (*TIFFReadWriteProc)(thandle_t  , void * , tmsize_t  );   506 typedef tmsize_t (*TIFFReadWriteProc)(thandle_t  , void * , tmsize_t  );
507 typedef uint64 (*TIFFSeekProc)(thandle_t  , uint64  , int  );   507 typedef uint64 (*TIFFSeekProc)(thandle_t  , uint64  , int  );
508 typedef int (*TIFFCloseProc)(thandle_t  );   508 typedef int (*TIFFCloseProc)(thandle_t  );
509 typedef uint64 (*TIFFSizeProc)(thandle_t  );   509 typedef uint64 (*TIFFSizeProc)(thandle_t  );
510 typedef int (*TIFFMapFileProc)(thandle_t  , void **base , toff_t *size );   510 typedef int (*TIFFMapFileProc)(thandle_t  , void **base , toff_t *size );
511 typedef void (*TIFFUnmapFileProc)(thandle_t  , void *base , toff_t size );   511 typedef void (*TIFFUnmapFileProc)(thandle_t  , void *base , toff_t size );
512 typedef void (*TIFFExtendProc)(TIFF * );   512 typedef void (*TIFFExtendProc)(TIFF * );
513 struct _TIFFField;   513 struct _TIFFField;
514 typedef struct _TIFFField TIFFField;   514 typedef struct _TIFFField TIFFField;
515 struct _TIFFFieldArray;   515 struct _TIFFFieldArray;
516 typedef struct _TIFFFieldArray TIFFFieldArray;   516 typedef struct _TIFFFieldArray TIFFFieldArray;
517 typedef int (*TIFFVSetMethod)(TIFF * , uint32  , va_list  );   517 typedef int (*TIFFVSetMethod)(TIFF * , uint32  , va_list  );
518 typedef int (*TIFFVGetMethod)(TIFF * , uint32  , va_list  );   518 typedef int (*TIFFVGetMethod)(TIFF * , uint32  , va_list  );
519 typedef void (*TIFFPrintMethod)(TIFF * , FILE * , long  );   519 typedef void (*TIFFPrintMethod)(TIFF * , FILE * , long  );
520 struct __anonstruct_TIFFTagMethods_31 {   520 struct __anonstruct_TIFFTagMethods_31 {
521    int (*vsetfield)(TIFF * , uint32  , va_list  ) ;   521    int (*vsetfield)(TIFF * , uint32  , va_list  ) ;
522    int (*vgetfield)(TIFF * , uint32  , va_list  ) ;   522    int (*vgetfield)(TIFF * , uint32  , va_list  ) ;
523    void (*printdir)(TIFF * , FILE * , long  ) ;   523    void (*printdir)(TIFF * , FILE * , long  ) ;
524 };   524 };
525 typedef struct __anonstruct_TIFFTagMethods_31 TIFFTagMethods;   525 typedef struct __anonstruct_TIFFTagMethods_31 TIFFTagMethods;
526 struct __anonstruct_TIFFFieldInfo_32 {   526 struct __anonstruct_TIFFFieldInfo_32 {
527    ttag_t field_tag ;   527    ttag_t field_tag ;
528    short field_readcount ;   528    short field_readcount ;
529    short field_writecount ;   529    short field_writecount ;
530    TIFFDataType field_type ;   530    TIFFDataType field_type ;
531    unsigned short field_bit ;   531    unsigned short field_bit ;
532    unsigned char field_oktochange ;   532    unsigned char field_oktochange ;
533    unsigned char field_passcount ;   533    unsigned char field_passcount ;
534    char *field_name ;   534    char *field_name ;
535 };   535 };
536 typedef struct __anonstruct_TIFFFieldInfo_32 TIFFFieldInfo;   536 typedef struct __anonstruct_TIFFFieldInfo_32 TIFFFieldInfo;
537 struct __anonstruct_TIFFTagValue_33 {   537 struct __anonstruct_TIFFTagValue_33 {
538    TIFFField const   *info ;   538    TIFFField const   *info ;
539    int count ;   539    int count ;
540    void *value ;   540    void *value ;
541 };   541 };
542 typedef struct __anonstruct_TIFFTagValue_33 TIFFTagValue;   542 typedef struct __anonstruct_TIFFTagValue_33 TIFFTagValue;
543 struct __anonstruct_TIFFDirectory_34 {   543 struct __anonstruct_TIFFDirectory_34 {
544    unsigned long td_fieldsset[4] ;   544    unsigned long td_fieldsset[4] ;
545    uint32 td_imagewidth ;   545    uint32 td_imagewidth ;
546    uint32 td_imagelength ;   546    uint32 td_imagelength ;
547    uint32 td_imagedepth ;   547    uint32 td_imagedepth ;
548    uint32 td_tilewidth ;   548    uint32 td_tilewidth ;
549    uint32 td_tilelength ;   549    uint32 td_tilelength ;
550    uint32 td_tiledepth ;   550    uint32 td_tiledepth ;
551    uint32 td_subfiletype ;   551    uint32 td_subfiletype ;
552    uint16 td_bitspersample ;   552    uint16 td_bitspersample ;
553    uint16 td_sampleformat ;   553    uint16 td_sampleformat ;
554    uint16 td_compression ;   554    uint16 td_compression ;
555    uint16 td_photometric ;   555    uint16 td_photometric ;
556    uint16 td_threshholding ;   556    uint16 td_threshholding ;
557    uint16 td_fillorder ;   557    uint16 td_fillorder ;
558    uint16 td_orientation ;   558    uint16 td_orientation ;
559    uint16 td_samplesperpixel ;   559    uint16 td_samplesperpixel ;
560    uint32 td_rowsperstrip ;   560    uint32 td_rowsperstrip ;
561    uint16 td_minsamplevalue ;   561    uint16 td_minsamplevalue ;
562    uint16 td_maxsamplevalue ;   562    uint16 td_maxsamplevalue ;
563    double td_sminsamplevalue ;   563    double td_sminsamplevalue ;
564    double td_smaxsamplevalue ;   564    double td_smaxsamplevalue ;
565    float td_xresolution ;   565    float td_xresolution ;
566    float td_yresolution ;   566    float td_yresolution ;
567    uint16 td_resolutionunit ;   567    uint16 td_resolutionunit ;
568    uint16 td_planarconfig ;   568    uint16 td_planarconfig ;
569    float td_xposition ;   569    float td_xposition ;
570    float td_yposition ;   570    float td_yposition ;
571    uint16 td_pagenumber[2] ;   571    uint16 td_pagenumber[2] ;
572    uint16 *td_colormap[3] ;   572    uint16 *td_colormap[3] ;
573    uint16 td_halftonehints[2] ;   573    uint16 td_halftonehints[2] ;
574    uint16 td_extrasamples ;   574    uint16 td_extrasamples ;
575    uint16 *td_sampleinfo ;   575    uint16 *td_sampleinfo ;
576    uint32 td_stripsperimage ;   576    uint32 td_stripsperimage ;
577    uint32 td_nstrips ;   577    uint32 td_nstrips ;
578    uint64 *td_stripoffset ;   578    uint64 *td_stripoffset ;
579    uint64 *td_stripbytecount ;   579    uint64 *td_stripbytecount ;
580    int td_stripbytecountsorted ;   580    int td_stripbytecountsorted ;
581    uint16 td_nsubifd ;   581    uint16 td_nsubifd ;
582    uint64 *td_subifd ;   582    uint64 *td_subifd ;
583    uint16 td_ycbcrsubsampling[2] ;   583    uint16 td_ycbcrsubsampling[2] ;
584    uint16 td_ycbcrpositioning ;   584    uint16 td_ycbcrpositioning ;
585    uint16 *td_transferfunction[3] ;   585    uint16 *td_transferfunction[3] ;
586    int td_inknameslen ;   586    int td_inknameslen ;
587    char *td_inknames ;   587    char *td_inknames ;
588    int td_customValueCount ;   588    int td_customValueCount ;
589    TIFFTagValue *td_customValues ;   589    TIFFTagValue *td_customValues ;
590 };   590 };
591 typedef struct __anonstruct_TIFFDirectory_34 TIFFDirectory;   591 typedef struct __anonstruct_TIFFDirectory_34 TIFFDirectory;
592 enum __anonenum_TIFFSetGetFieldType_35 {   592 enum __anonenum_TIFFSetGetFieldType_35 {
593     TIFF_SETGET_UNDEFINED = 0,   593     TIFF_SETGET_UNDEFINED = 0,
594     TIFF_SETGET_ASCII = 1,   594     TIFF_SETGET_ASCII = 1,
595     TIFF_SETGET_UINT8 = 2,   595     TIFF_SETGET_UINT8 = 2,
596     TIFF_SETGET_SINT8 = 3,   596     TIFF_SETGET_SINT8 = 3,
597     TIFF_SETGET_UINT16 = 4,   597     TIFF_SETGET_UINT16 = 4,
598     TIFF_SETGET_SINT16 = 5,   598     TIFF_SETGET_SINT16 = 5,
599     TIFF_SETGET_UINT32 = 6,   599     TIFF_SETGET_UINT32 = 6,
600     TIFF_SETGET_SINT32 = 7,   600     TIFF_SETGET_SINT32 = 7,
601     TIFF_SETGET_UINT64 = 8,   601     TIFF_SETGET_UINT64 = 8,
602     TIFF_SETGET_SINT64 = 9,   602     TIFF_SETGET_SINT64 = 9,
603     TIFF_SETGET_FLOAT = 10,   603     TIFF_SETGET_FLOAT = 10,
604     TIFF_SETGET_DOUBLE = 11,   604     TIFF_SETGET_DOUBLE = 11,
605     TIFF_SETGET_IFD8 = 12,   605     TIFF_SETGET_IFD8 = 12,
606     TIFF_SETGET_INT = 13,   606     TIFF_SETGET_INT = 13,
607     TIFF_SETGET_UINT16_PAIR = 14,   607     TIFF_SETGET_UINT16_PAIR = 14,
608     TIFF_SETGET_C0_ASCII = 15,   608     TIFF_SETGET_C0_ASCII = 15,
609     TIFF_SETGET_C0_UINT8 = 16,   609     TIFF_SETGET_C0_UINT8 = 16,
610     TIFF_SETGET_C0_SINT8 = 17,   610     TIFF_SETGET_C0_SINT8 = 17,
611     TIFF_SETGET_C0_UINT16 = 18,   611     TIFF_SETGET_C0_UINT16 = 18,
612     TIFF_SETGET_C0_SINT16 = 19,   612     TIFF_SETGET_C0_SINT16 = 19,
613     TIFF_SETGET_C0_UINT32 = 20,   613     TIFF_SETGET_C0_UINT32 = 20,
614     TIFF_SETGET_C0_SINT32 = 21,   614     TIFF_SETGET_C0_SINT32 = 21,
615     TIFF_SETGET_C0_UINT64 = 22,   615     TIFF_SETGET_C0_UINT64 = 22,
616     TIFF_SETGET_C0_SINT64 = 23,   616     TIFF_SETGET_C0_SINT64 = 23,
617     TIFF_SETGET_C0_FLOAT = 24,   617     TIFF_SETGET_C0_FLOAT = 24,
618     TIFF_SETGET_C0_DOUBLE = 25,   618     TIFF_SETGET_C0_DOUBLE = 25,
619     TIFF_SETGET_C0_IFD8 = 26,   619     TIFF_SETGET_C0_IFD8 = 26,
620     TIFF_SETGET_C16_ASCII = 27,   620     TIFF_SETGET_C16_ASCII = 27,
621     TIFF_SETGET_C16_UINT8 = 28,   621     TIFF_SETGET_C16_UINT8 = 28,
622     TIFF_SETGET_C16_SINT8 = 29,   622     TIFF_SETGET_C16_SINT8 = 29,
623     TIFF_SETGET_C16_UINT16 = 30,   623     TIFF_SETGET_C16_UINT16 = 30,
624     TIFF_SETGET_C16_SINT16 = 31,   624     TIFF_SETGET_C16_SINT16 = 31,
625     TIFF_SETGET_C16_UINT32 = 32,   625     TIFF_SETGET_C16_UINT32 = 32,
626     TIFF_SETGET_C16_SINT32 = 33,   626     TIFF_SETGET_C16_SINT32 = 33,
627     TIFF_SETGET_C16_UINT64 = 34,   627     TIFF_SETGET_C16_UINT64 = 34,
628     TIFF_SETGET_C16_SINT64 = 35,   628     TIFF_SETGET_C16_SINT64 = 35,
629     TIFF_SETGET_C16_FLOAT = 36,   629     TIFF_SETGET_C16_FLOAT = 36,
630     TIFF_SETGET_C16_DOUBLE = 37,   630     TIFF_SETGET_C16_DOUBLE = 37,
631     TIFF_SETGET_C16_IFD8 = 38,   631     TIFF_SETGET_C16_IFD8 = 38,
632     TIFF_SETGET_C32_ASCII = 39,   632     TIFF_SETGET_C32_ASCII = 39,
633     TIFF_SETGET_C32_UINT8 = 40,   633     TIFF_SETGET_C32_UINT8 = 40,
634     TIFF_SETGET_C32_SINT8 = 41,   634     TIFF_SETGET_C32_SINT8 = 41,
635     TIFF_SETGET_C32_UINT16 = 42,   635     TIFF_SETGET_C32_UINT16 = 42,
636     TIFF_SETGET_C32_SINT16 = 43,   636     TIFF_SETGET_C32_SINT16 = 43,
637     TIFF_SETGET_C32_UINT32 = 44,   637     TIFF_SETGET_C32_UINT32 = 44,
638     TIFF_SETGET_C32_SINT32 = 45,   638     TIFF_SETGET_C32_SINT32 = 45,
639     TIFF_SETGET_C32_UINT64 = 46,   639     TIFF_SETGET_C32_UINT64 = 46,
640     TIFF_SETGET_C32_SINT64 = 47,   640     TIFF_SETGET_C32_SINT64 = 47,
641     TIFF_SETGET_C32_FLOAT = 48,   641     TIFF_SETGET_C32_FLOAT = 48,
642     TIFF_SETGET_C32_DOUBLE = 49,   642     TIFF_SETGET_C32_DOUBLE = 49,
643     TIFF_SETGET_C32_IFD8 = 50,   643     TIFF_SETGET_C32_IFD8 = 50,
644     TIFF_SETGET_OTHER = 51   644     TIFF_SETGET_OTHER = 51
645 } ;   645 } ;
646 typedef enum __anonenum_TIFFSetGetFieldType_35 TIFFSetGetFieldType;   646 typedef enum __anonenum_TIFFSetGetFieldType_35 TIFFSetGetFieldType;
647 enum __anonenum_TIFFFieldArrayType_36 {   647 enum __anonenum_TIFFFieldArrayType_36 {
648     tfiatImage = 0,   648     tfiatImage = 0,
649     tfiatExif = 1,   649     tfiatExif = 1,
650     tfiatOther = 2   650     tfiatOther = 2
651 } ;   651 } ;
652 typedef enum __anonenum_TIFFFieldArrayType_36 TIFFFieldArrayType;   652 typedef enum __anonenum_TIFFFieldArrayType_36 TIFFFieldArrayType;
653 struct _TIFFFieldArray {   653 struct _TIFFFieldArray {
654    TIFFFieldArrayType type ;   654    TIFFFieldArrayType type ;
655    uint32 allocated_size ;   655    uint32 allocated_size ;
656    uint32 count ;   656    uint32 count ;
657    TIFFField *fields ;   657    TIFFField *fields ;
658 };   658 };
659 struct _TIFFField {   659 struct _TIFFField {
660    uint32 field_tag ;   660    uint32 field_tag ;
661    short field_readcount ;   661    short field_readcount ;
662    short field_writecount ;   662    short field_writecount ;
663    TIFFDataType field_type ;   663    TIFFDataType field_type ;
664    uint32 reserved ;   664    uint32 reserved ;
665    TIFFSetGetFieldType set_field_type ;   665    TIFFSetGetFieldType set_field_type ;
666    TIFFSetGetFieldType get_field_type ;   666    TIFFSetGetFieldType get_field_type ;
667    unsigned short field_bit ;   667    unsigned short field_bit ;
668    unsigned char field_oktochange ;   668    unsigned char field_oktochange ;
669    unsigned char field_passcount ;   669    unsigned char field_passcount ;
670    char *field_name ;   670    char *field_name ;
671    TIFFFieldArray *field_subfields ;   671    TIFFFieldArray *field_subfields ;
672 };   672 };
673 struct __anonstruct_TIFFDirEntry_37 {   673 struct __anonstruct_TIFFDirEntry_37 {
674    uint16 tdir_tag ;   674    uint16 tdir_tag ;
675    uint16 tdir_type ;   675    uint16 tdir_type ;
676    uint64 tdir_count ;   676    uint64 tdir_count ;
677    uint64 tdir_offset ;   677    uint64 tdir_offset ;
678 };   678 };
679 typedef struct __anonstruct_TIFFDirEntry_37 TIFFDirEntry;   679 typedef struct __anonstruct_TIFFDirEntry_37 TIFFDirEntry;
680 struct client_info {   680 struct client_info {
681    struct client_info *next ;   681    struct client_info *next ;
682    void *data ;   682    void *data ;
683    char *name ;   683    char *name ;
684 };   684 };
685 typedef struct client_info TIFFClientInfoLink;   685 typedef struct client_info TIFFClientInfoLink;
686 typedef unsigned char tidataval_t;   686 typedef unsigned char tidataval_t;
687 typedef tidataval_t *tidata_t;   687 typedef tidataval_t *tidata_t;
688 typedef void (*TIFFVoidMethod)(TIFF * );   688 typedef void (*TIFFVoidMethod)(TIFF * );
689 typedef int (*TIFFBoolMethod)(TIFF * );   689 typedef int (*TIFFBoolMethod)(TIFF * );
690 typedef int (*TIFFPreMethod)(TIFF * , uint16  );   690 typedef int (*TIFFPreMethod)(TIFF * , uint16  );
691 typedef int (*TIFFCodeMethod)(TIFF *tif , uint8 *buf , tmsize_t size ,   691 typedef int (*TIFFCodeMethod)(TIFF *tif , uint8 *buf , tmsize_t size ,
692                               uint16 sample );   692                               uint16 sample );
693 typedef int (*TIFFSeekMethod)(TIFF * , uint32  );   693 typedef int (*TIFFSeekMethod)(TIFF * , uint32  );
694 typedef void (*TIFFPostMethod)(TIFF *tif , uint8 *buf , tmsize_t size );   694 typedef void (*TIFFPostMethod)(TIFF *tif , uint8 *buf , tmsize_t size );
695 typedef uint32 (*TIFFStripMethod)(TIFF * , uint32  );   695 typedef uint32 (*TIFFStripMethod)(TIFF * , uint32  );
696 typedef void (*TIFFTileMethod)(TIFF * , uint32 * , uint32 * );   696 typedef void (*TIFFTileMethod)(TIFF * , uint32 * , uint32 * );
697 union __anonunion_tif_header_38 {   697 union __anonunion_tif_header_38 {
698    TIFFHeaderCommon common ;   698    TIFFHeaderCommon common ;
699    TIFFHeaderClassic classic ;   699    TIFFHeaderClassic classic ;
700    TIFFHeaderBig big ;   700    TIFFHeaderBig big ;
701 };   701 };
702 struct tiff {   702 struct tiff {
703    char *tif_name ;   703    char *tif_name ;
704    int tif_fd ;   704    int tif_fd ;
705    int tif_mode ;   705    int tif_mode ;
706    uint32 tif_flags ;   706    uint32 tif_flags ;
707    uint64 tif_diroff ;   707    uint64 tif_diroff ;
708    uint64 tif_nextdiroff ;   708    uint64 tif_nextdiroff ;
709    uint64 *tif_dirlist ;   709    uint64 *tif_dirlist ;
710    uint16 tif_dirlistsize ;   710    uint16 tif_dirlistsize ;
711    uint16 tif_dirnumber ;   711    uint16 tif_dirnumber ;
712    TIFFDirectory tif_dir ;   712    TIFFDirectory tif_dir ;
713    TIFFDirectory tif_customdir ;   713    TIFFDirectory tif_customdir ;
714    union __anonunion_tif_header_38 tif_header ;   714    union __anonunion_tif_header_38 tif_header ;
715    uint16 tif_header_size ;   715    uint16 tif_header_size ;
716    uint32 tif_row ;   716    uint32 tif_row ;
717    uint16 tif_curdir ;   717    uint16 tif_curdir ;
718    uint32 tif_curstrip ;   718    uint32 tif_curstrip ;
719    uint64 tif_curoff ;   719    uint64 tif_curoff ;
720    uint64 tif_dataoff ;   720    uint64 tif_dataoff ;
721    uint16 tif_nsubifd ;   721    uint16 tif_nsubifd ;
722    uint64 tif_subifdoff ;   722    uint64 tif_subifdoff ;
723    uint32 tif_col ;   723    uint32 tif_col ;
724    uint32 tif_curtile ;   724    uint32 tif_curtile ;
725    tmsize_t tif_tilesize ;   725    tmsize_t tif_tilesize ;
726    int tif_decodestatus ;   726    int tif_decodestatus ;
727    int (*tif_fixuptags)(TIFF * ) ;   727    int (*tif_fixuptags)(TIFF * ) ;
728    int (*tif_setupdecode)(TIFF * ) ;   728    int (*tif_setupdecode)(TIFF * ) ;
729    int (*tif_predecode)(TIFF * , uint16  ) ;   729    int (*tif_predecode)(TIFF * , uint16  ) ;
730    int (*tif_setupencode)(TIFF * ) ;   730    int (*tif_setupencode)(TIFF * ) ;
731    int tif_encodestatus ;   731    int tif_encodestatus ;
732    int (*tif_preencode)(TIFF * , uint16  ) ;   732    int (*tif_preencode)(TIFF * , uint16  ) ;
733    int (*tif_postencode)(TIFF * ) ;   733    int (*tif_postencode)(TIFF * ) ;
734    int (*tif_decoderow)(TIFF *tif , uint8 *buf , tmsize_t size , uint16 sample ) ;   734    int (*tif_decoderow)(TIFF *tif , uint8 *buf , tmsize_t size , uint16 sample ) ;
735    int (*tif_encoderow)(TIFF *tif , uint8 *buf , tmsize_t size , uint16 sample ) ;   735    int (*tif_encoderow)(TIFF *tif , uint8 *buf , tmsize_t size , uint16 sample ) ;
736    int (*tif_decodestrip)(TIFF *tif , uint8 *buf , tmsize_t size ,   736    int (*tif_decodestrip)(TIFF *tif , uint8 *buf , tmsize_t size ,
737                           uint16 sample ) ;   737                           uint16 sample ) ;
738    int (*tif_encodestrip)(TIFF *tif , uint8 *buf , tmsize_t size ,   738    int (*tif_encodestrip)(TIFF *tif , uint8 *buf , tmsize_t size ,
739                           uint16 sample ) ;   739                           uint16 sample ) ;
740    int (*tif_decodetile)(TIFF *tif , uint8 *buf , tmsize_t size , uint16 sample ) ;   740    int (*tif_decodetile)(TIFF *tif , uint8 *buf , tmsize_t size , uint16 sample ) ;
741    int (*tif_encodetile)(TIFF *tif , uint8 *buf , tmsize_t size , uint16 sample ) ;   741    int (*tif_encodetile)(TIFF *tif , uint8 *buf , tmsize_t size , uint16 sample ) ;
742    void (*tif_close)(TIFF * ) ;   742    void (*tif_close)(TIFF * ) ;
743    int (*tif_seek)(TIFF * , uint32  ) ;   743    int (*tif_seek)(TIFF * , uint32  ) ;
744    void (*tif_cleanup)(TIFF * ) ;   744    void (*tif_cleanup)(TIFF * ) ;
745    uint32 (*tif_defstripsize)(TIFF * , uint32  ) ;   745    uint32 (*tif_defstripsize)(TIFF * , uint32  ) ;
746    void (*tif_deftilesize)(TIFF * , uint32 * , uint32 * ) ;   746    void (*tif_deftilesize)(TIFF * , uint32 * , uint32 * ) ;
747    uint8 *tif_data ;   747    uint8 *tif_data ;
748    tmsize_t tif_scanlinesize ;   748    tmsize_t tif_scanlinesize ;
749    tmsize_t tif_scanlineskew ;   749    tmsize_t tif_scanlineskew ;
750    uint8 *tif_rawdata ;   750    uint8 *tif_rawdata ;
751    tmsize_t tif_rawdatasize ;   751    tmsize_t tif_rawdatasize ;
752    uint8 *tif_rawcp ;   752    uint8 *tif_rawcp ;
753    tmsize_t tif_rawcc ;   753    tmsize_t tif_rawcc ;
754    uint8 *tif_base ;   754    uint8 *tif_base ;
755    tmsize_t tif_size ;   755    tmsize_t tif_size ;
756    int (*tif_mapproc)(thandle_t  , void **base , toff_t *size ) ;   756    int (*tif_mapproc)(thandle_t  , void **base , toff_t *size ) ;
757    void (*tif_unmapproc)(thandle_t  , void *base , toff_t size ) ;   757    void (*tif_unmapproc)(thandle_t  , void *base , toff_t size ) ;
758    thandle_t tif_clientdata ;   758    thandle_t tif_clientdata ;
759    tmsize_t (*tif_readproc)(thandle_t  , void * , tmsize_t  ) ;   759    tmsize_t (*tif_readproc)(thandle_t  , void * , tmsize_t  ) ;
760    tmsize_t (*tif_writeproc)(thandle_t  , void * , tmsize_t  ) ;   760    tmsize_t (*tif_writeproc)(thandle_t  , void * , tmsize_t  ) ;
761    uint64 (*tif_seekproc)(thandle_t  , uint64  , int  ) ;   761    uint64 (*tif_seekproc)(thandle_t  , uint64  , int  ) ;
762    int (*tif_closeproc)(thandle_t  ) ;   762    int (*tif_closeproc)(thandle_t  ) ;
763    uint64 (*tif_sizeproc)(thandle_t  ) ;   763    uint64 (*tif_sizeproc)(thandle_t  ) ;
764    void (*tif_postdecode)(TIFF *tif , uint8 *buf , tmsize_t size ) ;   764    void (*tif_postdecode)(TIFF *tif , uint8 *buf , tmsize_t size ) ;
765    TIFFField **tif_fields ;   765    TIFFField **tif_fields ;
766    uint32 tif_nfields ;   766    uint32 tif_nfields ;
767    TIFFField const   *tif_foundfield ;   767    TIFFField const   *tif_foundfield ;
768    TIFFTagMethods tif_tagmethods ;   768    TIFFTagMethods tif_tagmethods ;
769    TIFFClientInfoLink *tif_clientinfo ;   769    TIFFClientInfoLink *tif_clientinfo ;
770    TIFFFieldArray *tif_fieldscompat ;   770    TIFFFieldArray *tif_fieldscompat ;
771    uint32 tif_nfieldscompat ;   771    uint32 tif_nfieldscompat ;
772 };   772 };
773 typedef long wchar_t;   773 typedef long wchar_t;
774 struct __anonstruct___wait_terminated_39 {   774 struct __anonstruct___wait_terminated_39 {
775    unsigned int __w_termsig : 7 ;   775    unsigned int __w_termsig : 7 ;
776    unsigned int __w_coredump : 1 ;   776    unsigned int __w_coredump : 1 ;
777    unsigned int __w_retcode : 8 ;   777    unsigned int __w_retcode : 8 ;
778    unsigned int  : 16 ;   778    unsigned int  : 16 ;
779 };   779 };
780 struct __anonstruct___wait_stopped_40 {   780 struct __anonstruct___wait_stopped_40 {
781    unsigned int __w_stopval : 8 ;   781    unsigned int __w_stopval : 8 ;
782    unsigned int __w_stopsig : 8 ;   782    unsigned int __w_stopsig : 8 ;
783    unsigned int  : 16 ;   783    unsigned int  : 16 ;
784 };   784 };
785 union wait {   785 union wait {
786    int w_status ;   786    int w_status ;
787    struct __anonstruct___wait_terminated_39 __wait_terminated ;   787    struct __anonstruct___wait_terminated_39 __wait_terminated ;
788    struct __anonstruct___wait_stopped_40 __wait_stopped ;   788    struct __anonstruct___wait_stopped_40 __wait_stopped ;
789 };   789 };
790 union __anonunion___WAIT_STATUS_41 {   790 union __anonunion___WAIT_STATUS_41 {
791    union wait *__uptr ;   791    union wait *__uptr ;
792    int *__iptr ;   792    int *__iptr ;
793 };   793 };
794 typedef union __anonunion___WAIT_STATUS_41  __attribute__((__transparent_union__)) __WAIT_STATUS;   794 typedef union __anonunion___WAIT_STATUS_41  __attribute__((__transparent_union__)) __WAIT_STATUS;
795 struct __anonstruct_div_t_42 {   795 struct __anonstruct_div_t_42 {
796    int quot ;   796    int quot ;
797    int rem ;   797    int rem ;
798 };   798 };
799 typedef struct __anonstruct_div_t_42 div_t;   799 typedef struct __anonstruct_div_t_42 div_t;
800 struct __anonstruct_ldiv_t_43 {   800 struct __anonstruct_ldiv_t_43 {
801    long quot ;   801    long quot ;
802    long rem ;   802    long rem ;
803 };   803 };
804 typedef struct __anonstruct_ldiv_t_43 ldiv_t;   804 typedef struct __anonstruct_ldiv_t_43 ldiv_t;
805 struct __anonstruct_lldiv_t_44 {   805 struct __anonstruct_lldiv_t_44 {
806    long long quot ;   806    long long quot ;
807    long long rem ;   807    long long rem ;
808 };   808 };
809 typedef struct __anonstruct_lldiv_t_44 lldiv_t;   809 typedef struct __anonstruct_lldiv_t_44 lldiv_t;
810 struct random_data {   810 struct random_data {
811    int32_t *fptr ;   811    int32_t *fptr ;
812    int32_t *rptr ;   812    int32_t *rptr ;
813    int32_t *state ;   813    int32_t *state ;
814    int rand_type ;   814    int rand_type ;
815    int rand_deg ;   815    int rand_deg ;
816    int rand_sep ;   816    int rand_sep ;
817    int32_t *end_ptr ;   817    int32_t *end_ptr ;
818 };   818 };
819 struct drand48_data {   819 struct drand48_data {
820    unsigned short __x[3] ;   820    unsigned short __x[3] ;
821    unsigned short __old_x[3] ;   821    unsigned short __old_x[3] ;
822    unsigned short __c ;   822    unsigned short __c ;
823    unsigned short __init ;   823    unsigned short __init ;
824    unsigned long long __a ;   824    unsigned long long __a ;
825 };   825 };
826 extern int select(int __nfds , fd_set * __restrict  __readfds ,   826 extern int select(int __nfds , fd_set * __restrict  __readfds ,
827                   fd_set * __restrict  __writefds ,   827                   fd_set * __restrict  __writefds ,
828                   fd_set * __restrict  __exceptfds ,   828                   fd_set * __restrict  __exceptfds ,
829                   struct timeval * __restrict  __timeout ) ;   829                   struct timeval * __restrict  __timeout ) ;
830 extern int pselect(int __nfds , fd_set * __restrict  __readfds ,   830 extern int pselect(int __nfds , fd_set * __restrict  __readfds ,
831                    fd_set * __restrict  __writefds ,   831                    fd_set * __restrict  __writefds ,
832                    fd_set * __restrict  __exceptfds ,   832                    fd_set * __restrict  __exceptfds ,
833                    struct timespec  const  * __restrict  __timeout ,   833                    struct timespec  const  * __restrict  __timeout ,
834                    __sigset_t const   * __restrict  __sigmask ) ;   834                    __sigset_t const   * __restrict  __sigmask ) ;
835 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;   835 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;
836 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;   836 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;
837 __inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major ,   837 __inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major ,
838                                                                                  unsigned int __minor ) ;   838                                                                                  unsigned int __minor ) ;
839 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;   839 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;
840 __inline extern unsigned int gnu_dev_major(unsigned long long __dev )   840 __inline extern unsigned int gnu_dev_major(unsigned long long __dev )
841 {   841 {
842     842  
843     843  
844   {   844   {
845   return ((unsigned int )(((__dev >> 8) & 4095ULL) | (unsigned long long )((unsigned int )(__dev >> 32) & 4294963200U)));   845   return ((unsigned int )(((__dev >> 8) & 4095ULL) | (unsigned long long )((unsigned int )(__dev >> 32) & 4294963200U)));
846 }   846 }
847 }   847 }
848 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;   848 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;
849 __inline extern unsigned int gnu_dev_minor(unsigned long long __dev )   849 __inline extern unsigned int gnu_dev_minor(unsigned long long __dev )
850 {   850 {
851     851  
852     852  
853   {   853   {
854   return ((unsigned int )((__dev & 255ULL) | (unsigned long long )((unsigned int )(__dev >> 12) & 4294967040U)));   854   return ((unsigned int )((__dev & 255ULL) | (unsigned long long )((unsigned int )(__dev >> 12) & 4294967040U)));
855 }   855 }
856 }   856 }
857 __inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major ,   857 __inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major ,
858                                                                                  unsigned int __minor ) ;   858                                                                                  unsigned int __minor ) ;
859 __inline extern unsigned long long gnu_dev_makedev(unsigned int __major ,   859 __inline extern unsigned long long gnu_dev_makedev(unsigned int __major ,
860                                                    unsigned int __minor )   860                                                    unsigned int __minor )
861 {   861 {
862     862  
863     863  
864   {   864   {
865   return (((unsigned long long )((__minor & 255U) | ((__major & 4095U) << 8)) | ((unsigned long long )(__minor & 4294967040U) << 12)) | ((unsigned long long )(__major & 4294963200U) << 32));   865   return (((unsigned long long )((__minor & 255U) | ((__major & 4095U) << 8)) | ((unsigned long long )(__minor & 4294967040U) << 12)) | ((unsigned long long )(__major & 4294963200U) << 32));
866 }   866 }
867 }   867 }
868 extern int fcntl(int __fd , int __cmd  , ...) ;   868 extern int fcntl(int __fd , int __cmd  , ...) ;
869 extern int ( __attribute__((__nonnull__(1))) open)(char const   *__file ,   869 extern int ( __attribute__((__nonnull__(1))) open)(char const   *__file ,
870                                                    int __oflag  , ...)  __asm__("open64")  ;   870                                                    int __oflag  , ...)  __asm__("open64")  ;
871 extern int ( __attribute__((__nonnull__(2))) openat)(int __fd ,   871 extern int ( __attribute__((__nonnull__(2))) openat)(int __fd ,
872                                                      char const   *__file ,   872                                                      char const   *__file ,
873                                                      int __oflag  , ...)  __asm__("openat64")  ;   873                                                      int __oflag  , ...)  __asm__("openat64")  ;
874 extern int ( __attribute__((__nonnull__(1))) creat)(char const   *__file ,   874 extern int ( __attribute__((__nonnull__(1))) creat)(char const   *__file ,
875                                                     __mode_t __mode )  __asm__("creat64")  ;   875                                                     __mode_t __mode )  __asm__("creat64")  ;
876 extern int lockf(int __fd , int __cmd , __off64_t __len )  __asm__("lockf64")  ;   876 extern int lockf(int __fd , int __cmd , __off64_t __len )  __asm__("lockf64")  ;
877 extern  __attribute__((__nothrow__)) int posix_fadvise(int __fd ,   877 extern  __attribute__((__nothrow__)) int posix_fadvise(int __fd ,
878                                                        __off64_t __offset ,   878                                                        __off64_t __offset ,
879                                                        __off64_t __len ,   879                                                        __off64_t __len ,
880                                                        int __advise )  __asm__("posix_fadvise64")  ;   880                                                        int __advise )  __asm__("posix_fadvise64")  ;
881 extern int posix_fallocate(int __fd , __off64_t __offset , __off64_t __len )  __asm__("posix_fallocate64")  ;   881 extern int posix_fallocate(int __fd , __off64_t __offset , __off64_t __len )  __asm__("posix_fallocate64")  ;
882 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memcpy)(void * __restrict  __dest ,   882 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memcpy)(void * __restrict  __dest ,
883                                                                                        void const   * __restrict  __src ,   883                                                                                        void const   * __restrict  __src ,
884                                                                                        size_t __n ) ;   884                                                                                        size_t __n ) ;
885 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memmove)(void *__dest ,   885 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memmove)(void *__dest ,
886                                                                                         void const   *__src ,   886                                                                                         void const   *__src ,
887                                                                                         size_t __n ) ;   887                                                                                         size_t __n ) ;
888 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memccpy)(void * __restrict  __dest ,   888 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memccpy)(void * __restrict  __dest ,
889                                                                                         void const   * __restrict  __src ,   889                                                                                         void const   * __restrict  __src ,
890                                                                                         int __c ,   890                                                                                         int __c ,
891                                                                                         size_t __n ) ;   891                                                                                         size_t __n ) ;
892 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memset)(void *__s ,   892 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memset)(void *__s ,
893                                                                                      int __c ,   893                                                                                      int __c ,
894                                                                                      size_t __n ) ;   894                                                                                      size_t __n ) ;
895 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) memcmp)(void const   *__s1 ,   895 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) memcmp)(void const   *__s1 ,
896                                                                                      void const   *__s2 ,   896                                                                                      void const   *__s2 ,
897                                                                                      size_t __n )  __attribute__((__pure__)) ;   897                                                                                      size_t __n )  __attribute__((__pure__)) ;
898 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memchr)(void const   *__s ,   898 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memchr)(void const   *__s ,
899                                                                                      int __c ,   899                                                                                      int __c ,
900                                                                                      size_t __n )  __attribute__((__pure__)) ;   900                                                                                      size_t __n )  __attribute__((__pure__)) ;
901 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcpy)(char * __restrict  __dest ,   901 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcpy)(char * __restrict  __dest ,
902                                                                                        char const   * __restrict  __src ) ;   902                                                                                        char const   * __restrict  __src ) ;
903 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncpy)(char * __restrict  __dest ,   903 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncpy)(char * __restrict  __dest ,
904                                                                                         char const   * __restrict  __src ,   904                                                                                         char const   * __restrict  __src ,
905                                                                                         size_t __n ) ;   905                                                                                         size_t __n ) ;
906 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcat)(char * __restrict  __dest ,   906 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcat)(char * __restrict  __dest ,
907                                                                                        char const   * __restrict  __src ) ;   907                                                                                        char const   * __restrict  __src ) ;
908 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncat)(char * __restrict  __dest ,   908 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncat)(char * __restrict  __dest ,
909                                                                                         char const   * __restrict  __src ,   909                                                                                         char const   * __restrict  __src ,
910                                                                                         size_t __n ) ;   910                                                                                         size_t __n ) ;
911 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcmp)(char const   *__s1 ,   911 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcmp)(char const   *__s1 ,
912                                                                                      char const   *__s2 )  __attribute__((__pure__)) ;   912                                                                                      char const   *__s2 )  __attribute__((__pure__)) ;
913 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncmp)(char const   *__s1 ,   913 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncmp)(char const   *__s1 ,
914                                                                                       char const   *__s2 ,   914                                                                                       char const   *__s2 ,
915                                                                                       size_t __n )  __attribute__((__pure__)) ;   915                                                                                       size_t __n )  __attribute__((__pure__)) ;
916 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcoll)(char const   *__s1 ,   916 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcoll)(char const   *__s1 ,
917                                                                                       char const   *__s2 )  __attribute__((__pure__)) ;   917                                                                                       char const   *__s2 )  __attribute__((__pure__)) ;
918 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2))) strxfrm)(char * __restrict  __dest ,   918 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2))) strxfrm)(char * __restrict  __dest ,
919                                                                                        char const   * __restrict  __src ,   919                                                                                        char const   * __restrict  __src ,
920                                                                                        size_t __n ) ;   920                                                                                        size_t __n ) ;
921 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) strcoll_l)(char const   *__s1 ,   921 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) strcoll_l)(char const   *__s1 ,
922                                                                                           char const   *__s2 ,   922                                                                                           char const   *__s2 ,
923                                                                                           __locale_t __l )  __attribute__((__pure__)) ;   923                                                                                           __locale_t __l )  __attribute__((__pure__)) ;
924 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2,4))) strxfrm_l)(char *__dest ,   924 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2,4))) strxfrm_l)(char *__dest ,
925                                                                                            char const   *__src ,   925                                                                                            char const   *__src ,
926                                                                                            size_t __n ,   926                                                                                            size_t __n ,
927                                                                                            __locale_t __l ) ;   927                                                                                            __locale_t __l ) ;
928 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strdup)(char const   *__s )  __attribute__((__malloc__)) ;   928 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strdup)(char const   *__s )  __attribute__((__malloc__)) ;
929 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strndup)(char const   *__string ,   929 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strndup)(char const   *__string ,
930                                                                                       size_t __n )  __attribute__((__malloc__)) ;   930                                                                                       size_t __n )  __attribute__((__malloc__)) ;
931 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strchr)(char const   *__s ,   931 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strchr)(char const   *__s ,
932                                                                                      int __c )  __attribute__((__pure__)) ;   932                                                                                      int __c )  __attribute__((__pure__)) ;
933 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strrchr)(char const   *__s ,   933 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strrchr)(char const   *__s ,
934                                                                                       int __c )  __attribute__((__pure__)) ;   934                                                                                       int __c )  __attribute__((__pure__)) ;
935 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strcspn)(char const   *__s ,   935 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strcspn)(char const   *__s ,
936                                                                                          char const   *__reject )  __attribute__((__pure__)) ;   936                                                                                          char const   *__reject )  __attribute__((__pure__)) ;
937 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strspn)(char const   *__s ,   937 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strspn)(char const   *__s ,
938                                                                                         char const   *__accept )  __attribute__((__pure__)) ;   938                                                                                         char const   *__accept )  __attribute__((__pure__)) ;
939 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strpbrk)(char const   *__s ,   939 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strpbrk)(char const   *__s ,
940                                                                                         char const   *__accept )  __attribute__((__pure__)) ;   940                                                                                         char const   *__accept )  __attribute__((__pure__)) ;
941 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strstr)(char const   *__haystack ,   941 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strstr)(char const   *__haystack ,
942                                                                                        char const   *__needle )  __attribute__((__pure__)) ;   942                                                                                        char const   *__needle )  __attribute__((__pure__)) ;
943 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) strtok)(char * __restrict  __s ,   943 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) strtok)(char * __restrict  __s ,
944                                                                                      char const   * __restrict  __delim ) ;   944                                                                                      char const   * __restrict  __delim ) ;
945 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) __strtok_r)(char * __restrict  __s ,   945 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) __strtok_r)(char * __restrict  __s ,
946                                                                                            char const   * __restrict  __delim ,   946                                                                                            char const   * __restrict  __delim ,
947                                                                                            char ** __restrict  __save_ptr ) ;   947                                                                                            char ** __restrict  __save_ptr ) ;
948 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) strtok_r)(char * __restrict  __s ,   948 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) strtok_r)(char * __restrict  __s ,
949                                                                                          char const   * __restrict  __delim ,   949                                                                                          char const   * __restrict  __delim ,
950                                                                                          char ** __restrict  __save_ptr ) ;   950                                                                                          char ** __restrict  __save_ptr ) ;
951 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strlen)(char const   *__s )  __attribute__((__pure__)) ;   951 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strlen)(char const   *__s )  __attribute__((__pure__)) ;
952 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strnlen)(char const   *__string ,   952 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strnlen)(char const   *__string ,
953                                                                                        size_t __maxlen )  __attribute__((__pure__)) ;   953                                                                                        size_t __maxlen )  __attribute__((__pure__)) ;
954 extern  __attribute__((__nothrow__)) char *strerror(int __errnum ) ;   954 extern  __attribute__((__nothrow__)) char *strerror(int __errnum ) ;
955 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) strerror_r)(int __errnum ,   955 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) strerror_r)(int __errnum ,
956                                                                                        char *__buf ,   956                                                                                        char *__buf ,
957                                                                                        size_t __buflen )  __asm__("__xpg_strerror_r")  ;   957                                                                                        size_t __buflen )  __asm__("__xpg_strerror_r")  ;
958 extern  __attribute__((__nothrow__)) char *strerror_l(int __errnum ,   958 extern  __attribute__((__nothrow__)) char *strerror_l(int __errnum ,
959                                                       __locale_t __l ) ;   959                                                       __locale_t __l ) ;
960 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) __bzero)(void *__s ,   960 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) __bzero)(void *__s ,
961                                                                                      size_t __n ) ;   961                                                                                      size_t __n ) ;
962 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1,2))) bcopy)(void const   *__src ,   962 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1,2))) bcopy)(void const   *__src ,
963                                                                                      void *__dest ,   963                                                                                      void *__dest ,
964                                                                                      size_t __n ) ;   964                                                                                      size_t __n ) ;
965 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) bzero)(void *__s ,   965 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) bzero)(void *__s ,
966                                                                                    size_t __n ) ;   966                                                                                    size_t __n ) ;
967 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) bcmp)(void const   *__s1 ,   967 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) bcmp)(void const   *__s1 ,
968                                                                                    void const   *__s2 ,   968                                                                                    void const   *__s2 ,
969                                                                                    size_t __n )  __attribute__((__pure__)) ;   969                                                                                    size_t __n )  __attribute__((__pure__)) ;
970 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) index)(char const   *__s ,   970 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) index)(char const   *__s ,
971                                                                                     int __c )  __attribute__((__pure__)) ;   971                                                                                     int __c )  __attribute__((__pure__)) ;
972 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) rindex)(char const   *__s ,   972 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) rindex)(char const   *__s ,
973                                                                                      int __c )  __attribute__((__pure__)) ;   973                                                                                      int __c )  __attribute__((__pure__)) ;
974 extern  __attribute__((__nothrow__)) int ffs(int __i )  __attribute__((__const__)) ;   974 extern  __attribute__((__nothrow__)) int ffs(int __i )  __attribute__((__const__)) ;
975 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcasecmp)(char const   *__s1 ,   975 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcasecmp)(char const   *__s1 ,
976                                                                                          char const   *__s2 )  __attribute__((__pure__)) ;   976                                                                                          char const   *__s2 )  __attribute__((__pure__)) ;
977 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncasecmp)(char const   *__s1 ,   977 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncasecmp)(char const   *__s1 ,
978                                                                                           char const   *__s2 ,   978                                                                                           char const   *__s2 ,
979                                                                                           size_t __n )  __attribute__((__pure__)) ;   979                                                                                           size_t __n )  __attribute__((__pure__)) ;
980 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strsep)(char ** __restrict  __stringp ,   980 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strsep)(char ** __restrict  __stringp ,
981                                                                                        char const   * __restrict  __delim ) ;   981                                                                                        char const   * __restrict  __delim ) ;
982 extern  __attribute__((__nothrow__)) char *strsignal(int __sig ) ;   982 extern  __attribute__((__nothrow__)) char *strsignal(int __sig ) ;
983 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpcpy)(char * __restrict  __dest ,   983 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpcpy)(char * __restrict  __dest ,
984                                                                                          char const   * __restrict  __src ) ;   984                                                                                          char const   * __restrict  __src ) ;
985 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpcpy)(char * __restrict  __dest ,   985 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpcpy)(char * __restrict  __dest ,
986                                                                                        char const   * __restrict  __src ) ;   986                                                                                        char const   * __restrict  __src ) ;
987 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpncpy)(char * __restrict  __dest ,   987 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpncpy)(char * __restrict  __dest ,
988                                                                                           char const   * __restrict  __src ,   988                                                                                           char const   * __restrict  __src ,
989                                                                                           size_t __n ) ;   989                                                                                           size_t __n ) ;
990 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpncpy)(char * __restrict  __dest ,   990 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpncpy)(char * __restrict  __dest ,
991                                                                                         char const   * __restrict  __src ,   991                                                                                         char const   * __restrict  __src ,
992                                                                                         size_t __n ) ;   992                                                                                         size_t __n ) ;
993 extern void *__rawmemchr(void const   *__s , int __c ) ;   993 extern void *__rawmemchr(void const   *__s , int __c ) ;
994 __inline extern size_t __strcspn_c1(char const   *__s , int __reject ) ;   994 __inline extern size_t __strcspn_c1(char const   *__s , int __reject ) ;
995 __inline extern size_t __strcspn_c1(char const   *__s , int __reject )   995 __inline extern size_t __strcspn_c1(char const   *__s , int __reject )
996 {   996 {
997   register size_t __result ;   997   register size_t __result ;
998     998  
999   {   999   {
1000   __result = (size_t )0;   1000   __result = (size_t )0;
1001   while (1) {   1001   while (1) {
1002     if ((int const   )*(__s + __result) != 0) {   1002     if ((int const   )*(__s + __result) != 0) {
1003       if ((int const   )*(__s + __result) != (int const   )__reject) {   1003       if ((int const   )*(__s + __result) != (int const   )__reject) {
1004     1004  
1005       } else {   1005       } else {
1006         break;   1006         break;
1007       }   1007       }
1008     } else {   1008     } else {
1009       break;   1009       break;
1010     }   1010     }
1011     __result ++;   1011     __result ++;
1012   }   1012   }
1013   return (__result);   1013   return (__result);
1014 }   1014 }
1015 }   1015 }
1016 __inline extern size_t __strcspn_c2(char const   *__s , int __reject1 ,   1016 __inline extern size_t __strcspn_c2(char const   *__s , int __reject1 ,
1017                                     int __reject2 ) ;   1017                                     int __reject2 ) ;
1018 __inline extern size_t __strcspn_c2(char const   *__s , int __reject1 ,   1018 __inline extern size_t __strcspn_c2(char const   *__s , int __reject1 ,
1019                                     int __reject2 )   1019                                     int __reject2 )
1020 {   1020 {
1021   register size_t __result ;   1021   register size_t __result ;
1022     1022  
1023   {   1023   {
1024   __result = (size_t )0;   1024   __result = (size_t )0;
1025   while (1) {   1025   while (1) {
1026     if ((int const   )*(__s + __result) != 0) {   1026     if ((int const   )*(__s + __result) != 0) {
1027       if ((int const   )*(__s + __result) != (int const   )__reject1) {   1027       if ((int const   )*(__s + __result) != (int const   )__reject1) {
1028         if ((int const   )*(__s + __result) != (int const   )__reject2) {   1028         if ((int const   )*(__s + __result) != (int const   )__reject2) {
1029     1029  
1030         } else {   1030         } else {
1031           break;   1031           break;
1032         }   1032         }
1033       } else {   1033       } else {
1034         break;   1034         break;
1035       }   1035       }
1036     } else {   1036     } else {
1037       break;   1037       break;
1038     }   1038     }
1039     __result ++;   1039     __result ++;
1040   }   1040   }
1041   return (__result);   1041   return (__result);
1042 }   1042 }
1043 }   1043 }
1044 __inline extern size_t __strcspn_c3(char const   *__s , int __reject1 ,   1044 __inline extern size_t __strcspn_c3(char const   *__s , int __reject1 ,
1045                                     int __reject2 , int __reject3 ) ;   1045                                     int __reject2 , int __reject3 ) ;
1046 __inline extern size_t __strcspn_c3(char const   *__s , int __reject1 ,   1046 __inline extern size_t __strcspn_c3(char const   *__s , int __reject1 ,
1047                                     int __reject2 , int __reject3 )   1047                                     int __reject2 , int __reject3 )
1048 {   1048 {
1049   register size_t __result ;   1049   register size_t __result ;
1050     1050  
1051   {   1051   {
1052   __result = (size_t )0;   1052   __result = (size_t )0;
1053   while (1) {   1053   while (1) {
1054     if ((int const   )*(__s + __result) != 0) {   1054     if ((int const   )*(__s + __result) != 0) {
1055       if ((int const   )*(__s + __result) != (int const   )__reject1) {   1055       if ((int const   )*(__s + __result) != (int const   )__reject1) {
1056         if ((int const   )*(__s + __result) != (int const   )__reject2) {   1056         if ((int const   )*(__s + __result) != (int const   )__reject2) {
1057           if ((int const   )*(__s + __result) != (int const   )__reject3) {   1057           if ((int const   )*(__s + __result) != (int const   )__reject3) {
1058     1058  
1059           } else {   1059           } else {
1060             break;   1060             break;
1061           }   1061           }
1062         } else {   1062         } else {
1063           break;   1063           break;
1064         }   1064         }
1065       } else {   1065       } else {
1066         break;   1066         break;
1067       }   1067       }
1068     } else {   1068     } else {
1069       break;   1069       break;
1070     }   1070     }
1071     __result ++;   1071     __result ++;
1072   }   1072   }
1073   return (__result);   1073   return (__result);
1074 }   1074 }
1075 }   1075 }
1076 __inline extern size_t __strspn_c1(char const   *__s , int __accept ) ;   1076 __inline extern size_t __strspn_c1(char const   *__s , int __accept ) ;
1077 __inline extern size_t __strspn_c1(char const   *__s , int __accept )   1077 __inline extern size_t __strspn_c1(char const   *__s , int __accept )
1078 {   1078 {
1079   register size_t __result ;   1079   register size_t __result ;
1080     1080  
1081   {   1081   {
1082   __result = (size_t )0;   1082   __result = (size_t )0;
1083   while ((int const   )*(__s + __result) == (int const   )__accept) {   1083   while ((int const   )*(__s + __result) == (int const   )__accept) {
1084     __result ++;   1084     __result ++;
1085   }   1085   }
1086   return (__result);   1086   return (__result);
1087 }   1087 }
1088 }   1088 }
1089 __inline extern size_t __strspn_c2(char const   *__s , int __accept1 ,   1089 __inline extern size_t __strspn_c2(char const   *__s , int __accept1 ,
1090                                    int __accept2 ) ;   1090                                    int __accept2 ) ;
1091 __inline extern size_t __strspn_c2(char const   *__s , int __accept1 ,   1091 __inline extern size_t __strspn_c2(char const   *__s , int __accept1 ,
1092                                    int __accept2 )   1092                                    int __accept2 )
1093 {   1093 {
1094   register size_t __result ;   1094   register size_t __result ;
1095     1095  
1096   {   1096   {
1097   __result = (size_t )0;   1097   __result = (size_t )0;
1098   while (1) {   1098   while (1) {
1099     if ((int const   )*(__s + __result) == (int const   )__accept1) {   1099     if ((int const   )*(__s + __result) == (int const   )__accept1) {
1100     1100  
1101     } else   1101     } else
1102     if ((int const   )*(__s + __result) == (int const   )__accept2) {   1102     if ((int const   )*(__s + __result) == (int const   )__accept2) {
1103     1103  
1104     } else {   1104     } else {
1105       break;   1105       break;
1106     }   1106     }
1107     __result ++;   1107     __result ++;
1108   }   1108   }
1109   return (__result);   1109   return (__result);
1110 }   1110 }
1111 }   1111 }
1112 __inline extern size_t __strspn_c3(char const   *__s , int __accept1 ,   1112 __inline extern size_t __strspn_c3(char const   *__s , int __accept1 ,
1113                                    int __accept2 , int __accept3 ) ;   1113                                    int __accept2 , int __accept3 ) ;
1114 __inline extern size_t __strspn_c3(char const   *__s , int __accept1 ,   1114 __inline extern size_t __strspn_c3(char const   *__s , int __accept1 ,
1115                                    int __accept2 , int __accept3 )   1115                                    int __accept2 , int __accept3 )
1116 {   1116 {
1117   register size_t __result ;   1117   register size_t __result ;
1118     1118  
1119   {   1119   {
1120   __result = (size_t )0;   1120   __result = (size_t )0;
1121   while (1) {   1121   while (1) {
1122     if ((int const   )*(__s + __result) == (int const   )__accept1) {   1122     if ((int const   )*(__s + __result) == (int const   )__accept1) {
1123     1123  
1124     } else   1124     } else
1125     if ((int const   )*(__s + __result) == (int const   )__accept2) {   1125     if ((int const   )*(__s + __result) == (int const   )__accept2) {
1126     1126  
1127     } else   1127     } else
1128     if ((int const   )*(__s + __result) == (int const   )__accept3) {   1128     if ((int const   )*(__s + __result) == (int const   )__accept3) {
1129     1129  
1130     } else {   1130     } else {
1131       break;   1131       break;
1132     }   1132     }
1133     __result ++;   1133     __result ++;
1134   }   1134   }
1135   return (__result);   1135   return (__result);
1136 }   1136 }
1137 }   1137 }
1138 __inline extern char *__strpbrk_c2(char const   *__s , int __accept1 ,   1138 __inline extern char *__strpbrk_c2(char const   *__s , int __accept1 ,
1139                                    int __accept2 ) ;   1139                                    int __accept2 ) ;
1140 __inline extern char *__strpbrk_c2(char const   *__s , int __accept1 ,   1140 __inline extern char *__strpbrk_c2(char const   *__s , int __accept1 ,
1141                                    int __accept2 )   1141                                    int __accept2 )
1142 {   1142 {
1143   char *tmp ;   1143   char *tmp ;
1144     1144  
1145   {   1145   {
1146   while (1) {   1146   while (1) {
1147     if ((int const   )*__s != 0) {   1147     if ((int const   )*__s != 0) {
1148       if ((int const   )*__s != (int const   )__accept1) {   1148       if ((int const   )*__s != (int const   )__accept1) {
1149         if ((int const   )*__s != (int const   )__accept2) {   1149         if ((int const   )*__s != (int const   )__accept2) {
1150     1150  
1151         } else {   1151         } else {
1152           break;   1152           break;
1153         }   1153         }
1154       } else {   1154       } else {
1155         break;   1155         break;
1156       }   1156       }
1157     } else {   1157     } else {
1158       break;   1158       break;
1159     }   1159     }
1160     __s ++;   1160     __s ++;
1161   }   1161   }
1162   if ((int const   )*__s == 0) {   1162   if ((int const   )*__s == 0) {
1163     tmp = (char *)((void *)0);   1163     tmp = (char *)((void *)0);
1164   } else {   1164   } else {
1165     tmp = (char *)((size_t )__s);   1165     tmp = (char *)((size_t )__s);
1166   }   1166   }
1167   return (tmp);   1167   return (tmp);
1168 }   1168 }
1169 }   1169 }
1170 __inline extern char *__strpbrk_c3(char const   *__s , int __accept1 ,   1170 __inline extern char *__strpbrk_c3(char const   *__s , int __accept1 ,
1171                                    int __accept2 , int __accept3 ) ;   1171                                    int __accept2 , int __accept3 ) ;
1172 __inline extern char *__strpbrk_c3(char const   *__s , int __accept1 ,   1172 __inline extern char *__strpbrk_c3(char const   *__s , int __accept1 ,
1173                                    int __accept2 , int __accept3 )   1173                                    int __accept2 , int __accept3 )
1174 {   1174 {
1175   char *tmp ;   1175   char *tmp ;
1176     1176  
1177   {   1177   {
1178   while (1) {   1178   while (1) {
1179     if ((int const   )*__s != 0) {   1179     if ((int const   )*__s != 0) {
1180       if ((int const   )*__s != (int const   )__accept1) {   1180       if ((int const   )*__s != (int const   )__accept1) {
1181         if ((int const   )*__s != (int const   )__accept2) {   1181         if ((int const   )*__s != (int const   )__accept2) {
1182           if ((int const   )*__s != (int const   )__accept3) {   1182           if ((int const   )*__s != (int const   )__accept3) {
1183     1183  
1184           } else {   1184           } else {
1185             break;   1185             break;
1186           }   1186           }
1187         } else {   1187         } else {
1188           break;   1188           break;
1189         }   1189         }
1190       } else {   1190       } else {
1191         break;   1191         break;
1192       }   1192       }
1193     } else {   1193     } else {
1194       break;   1194       break;
1195     }   1195     }
1196     __s ++;   1196     __s ++;
1197   }   1197   }
1198   if ((int const   )*__s == 0) {   1198   if ((int const   )*__s == 0) {
1199     tmp = (char *)((void *)0);   1199     tmp = (char *)((void *)0);
1200   } else {   1200   } else {
1201     tmp = (char *)((size_t )__s);   1201     tmp = (char *)((size_t )__s);
1202   }   1202   }
1203   return (tmp);   1203   return (tmp);
1204 }   1204 }
1205 }   1205 }
1206 __inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp ) ;   1206 __inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp ) ;
1207 __inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp )   1207 __inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp )
1208 {   1208 {
1209   char *__result ;   1209   char *__result ;
1210   char *tmp ;   1210   char *tmp ;
1211   char *tmp___0 ;   1211   char *tmp___0 ;
1212     1212  
1213   {   1213   {
1214   if ((unsigned int )__s == (unsigned int )((void *)0)) {   1214   if ((unsigned int )__s == (unsigned int )((void *)0)) {
1215     __s = *__nextp;   1215     __s = *__nextp;
1216   } else {   1216   } else {
1217     1217  
1218   }   1218   }
1219   while ((int )*__s == (int )__sep) {   1219   while ((int )*__s == (int )__sep) {
1220     __s ++;   1220     __s ++;
1221   }   1221   }
1222   __result = (char *)((void *)0);   1222   __result = (char *)((void *)0);
1223   if ((int )*__s != 0) {   1223   if ((int )*__s != 0) {
1224     tmp = __s;   1224     tmp = __s;
1225     __s ++;   1225     __s ++;
1226     __result = tmp;   1226     __result = tmp;
1227     while ((int )*__s != 0) {   1227     while ((int )*__s != 0) {
1228       tmp___0 = __s;   1228       tmp___0 = __s;
1229       __s ++;   1229       __s ++;
1230       if ((int )*tmp___0 == (int )__sep) {   1230       if ((int )*tmp___0 == (int )__sep) {
1231         *(__s + -1) = (char )'\000';   1231         *(__s + -1) = (char )'\000';
1232         break;   1232         break;
1233       } else {   1233       } else {
1234     1234  
1235       }   1235       }
1236     }   1236     }
1237   } else {   1237   } else {
1238     1238  
1239   }   1239   }
1240   *__nextp = __s;   1240   *__nextp = __s;
1241   return (__result);   1241   return (__result);
1242 }   1242 }
1243 }   1243 }
1244 extern char *__strsep_g(char **__stringp , char const   *__delim ) ;   1244 extern char *__strsep_g(char **__stringp , char const   *__delim ) ;
1245 __inline extern char *__strsep_1c(char **__s , char __reject ) ;   1245 __inline extern char *__strsep_1c(char **__s , char __reject ) ;
1246 __inline extern char *__strsep_1c(char **__s , char __reject )   1246 __inline extern char *__strsep_1c(char **__s , char __reject )
1247 {   1247 {
1248   register char *__retval ;   1248   register char *__retval ;
1249   char *tmp ;   1249   char *tmp ;
1250   char *tmp___0 ;   1250   char *tmp___0 ;
1251   void *tmp___1 ;   1251   void *tmp___1 ;
1252   char *tmp___2 ;   1252   char *tmp___2 ;
1253     1253  
1254   {   1254   {
1255   __retval = *__s;   1255   __retval = *__s;
1256   if ((unsigned int )__retval != (unsigned int )((void *)0)) {   1256   if ((unsigned int )__retval != (unsigned int )((void *)0)) {
1257     tmp___2 = __builtin_strchr(__retval, (int )__reject);   1257     tmp___2 = __builtin_strchr(__retval, (int )__reject);
1258     tmp___0 = tmp___2;   1258     tmp___0 = tmp___2;
1259     *__s = tmp___0;   1259     *__s = tmp___0;
1260     if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) {   1260     if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) {
1261       tmp = *__s;   1261       tmp = *__s;
1262       (*__s) ++;   1262       (*__s) ++;
1263       *tmp = (char )'\000';   1263       *tmp = (char )'\000';
1264     } else {   1264     } else {
1265     1265  
1266     }   1266     }
1267   } else {   1267   } else {
1268     1268  
1269   }   1269   }
1270   return (__retval);   1270   return (__retval);
1271 }   1271 }
1272 }   1272 }
1273 __inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 ) ;   1273 __inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 ) ;
1274 __inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 )   1274 __inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 )
1275 {   1275 {
1276   register char *__retval ;   1276   register char *__retval ;
1277   register char *__cp ;   1277   register char *__cp ;
1278   char *tmp ;   1278   char *tmp ;
1279     1279  
1280   {   1280   {
1281   __retval = *__s;   1281   __retval = *__s;
1282   if ((unsigned int )__retval != (unsigned int )((void *)0)) {   1282   if ((unsigned int )__retval != (unsigned int )((void *)0)) {
1283     __cp = __retval;   1283     __cp = __retval;
1284     while (1) {   1284     while (1) {
1285       if ((int )*__cp == 0) {   1285       if ((int )*__cp == 0) {
1286         __cp = (char *)((void *)0);   1286         __cp = (char *)((void *)0);
1287         break;   1287         break;
1288       } else {   1288       } else {
1289     1289  
1290       }   1290       }
1291       if ((int )*__cp == (int )__reject1) {   1291       if ((int )*__cp == (int )__reject1) {
1292         tmp = __cp;   1292         tmp = __cp;
1293         __cp ++;   1293         __cp ++;
1294         *tmp = (char )'\000';   1294         *tmp = (char )'\000';
1295         break;   1295         break;
1296       } else   1296       } else
1297       if ((int )*__cp == (int )__reject2) {   1297       if ((int )*__cp == (int )__reject2) {
1298         tmp = __cp;   1298         tmp = __cp;
1299         __cp ++;   1299         __cp ++;
1300         *tmp = (char )'\000';   1300         *tmp = (char )'\000';
1301         break;   1301         break;
1302       } else {   1302       } else {
1303     1303  
1304       }   1304       }
1305       __cp ++;   1305       __cp ++;
1306     }   1306     }
1307     *__s = __cp;   1307     *__s = __cp;
1308   } else {   1308   } else {
1309     1309  
1310   }   1310   }
1311   return (__retval);   1311   return (__retval);
1312 }   1312 }
1313 }   1313 }
1314 __inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 ,   1314 __inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 ,
1315                                   char __reject3 ) ;   1315                                   char __reject3 ) ;
1316 __inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 ,   1316 __inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 ,
1317                                   char __reject3 )   1317                                   char __reject3 )
1318 {   1318 {
1319   register char *__retval ;   1319   register char *__retval ;
1320   register char *__cp ;   1320   register char *__cp ;
1321   char *tmp ;   1321   char *tmp ;
1322     1322  
1323   {   1323   {
1324   __retval = *__s;   1324   __retval = *__s;
1325   if ((unsigned int )__retval != (unsigned int )((void *)0)) {   1325   if ((unsigned int )__retval != (unsigned int )((void *)0)) {
1326     __cp = __retval;   1326     __cp = __retval;
1327     while (1) {   1327     while (1) {
1328       if ((int )*__cp == 0) {   1328       if ((int )*__cp == 0) {
1329         __cp = (char *)((void *)0);   1329         __cp = (char *)((void *)0);
1330         break;   1330         break;
1331       } else {   1331       } else {
1332     1332  
1333       }   1333       }
1334       if ((int )*__cp == (int )__reject1) {   1334       if ((int )*__cp == (int )__reject1) {
1335         tmp = __cp;   1335         tmp = __cp;
1336         __cp ++;   1336         __cp ++;
1337         *tmp = (char )'\000';   1337         *tmp = (char )'\000';
1338         break;   1338         break;
1339       } else   1339       } else
1340       if ((int )*__cp == (int )__reject2) {   1340       if ((int )*__cp == (int )__reject2) {
1341         tmp = __cp;   1341         tmp = __cp;
1342         __cp ++;   1342         __cp ++;
1343         *tmp = (char )'\000';   1343         *tmp = (char )'\000';
1344         break;   1344         break;
1345       } else   1345       } else
1346       if ((int )*__cp == (int )__reject3) {   1346       if ((int )*__cp == (int )__reject3) {
1347         tmp = __cp;   1347         tmp = __cp;
1348         __cp ++;   1348         __cp ++;
1349         *tmp = (char )'\000';   1349         *tmp = (char )'\000';
1350         break;   1350         break;
1351       } else {   1351       } else {
1352     1352  
1353       }   1353       }
1354       __cp ++;   1354       __cp ++;
1355     }   1355     }
1356     *__s = __cp;   1356     *__s = __cp;
1357   } else {   1357   } else {
1358     1358  
1359   }   1359   }
1360   return (__retval);   1360   return (__retval);
1361 }   1361 }
1362 }   1362 }
1363 extern  __attribute__((__nothrow__)) void *malloc(size_t __size )  __attribute__((__malloc__)) ;   1363 extern  __attribute__((__nothrow__)) void *malloc(size_t __size )  __attribute__((__malloc__)) ;
1364 extern  __attribute__((__nothrow__)) void *calloc(size_t __nmemb ,   1364 extern  __attribute__((__nothrow__)) void *calloc(size_t __nmemb ,
1365                                                   size_t __size )  __attribute__((__malloc__)) ;   1365                                                   size_t __size )  __attribute__((__malloc__)) ;
1366 extern  __attribute__((__nothrow__)) char *__strdup(char const   *__string )  __attribute__((__malloc__)) ;   1366 extern  __attribute__((__nothrow__)) char *__strdup(char const   *__string )  __attribute__((__malloc__)) ;
1367 extern  __attribute__((__nothrow__)) char *__strndup(char const   *__string ,   1367 extern  __attribute__((__nothrow__)) char *__strndup(char const   *__string ,
1368                                                      size_t __n )  __attribute__((__malloc__)) ;   1368                                                      size_t __n )  __attribute__((__malloc__)) ;
1369 extern  __attribute__((__nothrow__,   1369 extern  __attribute__((__nothrow__,
1370 __noreturn__)) void __assert_fail(char const   *__assertion ,   1370 __noreturn__)) void __assert_fail(char const   *__assertion ,
1371                                   char const   *__file , unsigned int __line ,   1371                                   char const   *__file , unsigned int __line ,
1372                                   char const   *__function ) ;   1372                                   char const   *__function ) ;
1373 extern  __attribute__((__nothrow__,   1373 extern  __attribute__((__nothrow__,
1374 __noreturn__)) void __assert_perror_fail(int __errnum , char const   *__file ,   1374 __noreturn__)) void __assert_perror_fail(int __errnum , char const   *__file ,
1375                                          unsigned int __line ,   1375                                          unsigned int __line ,
1376                                          char const   *__function ) ;   1376                                          char const   *__function ) ;
1377 extern  __attribute__((__nothrow__,   1377 extern  __attribute__((__nothrow__,
1378 __noreturn__)) void __assert(char const   *__assertion , char const   *__file ,   1378 __noreturn__)) void __assert(char const   *__assertion , char const   *__file ,
1379                              int __line ) ;   1379                              int __line ) ;
1380 extern  __attribute__((__nothrow__)) void insque(void *__elem , void *__prev ) ;   1380 extern  __attribute__((__nothrow__)) void insque(void *__elem , void *__prev ) ;
1381 extern  __attribute__((__nothrow__)) void remque(void *__elem ) ;   1381 extern  __attribute__((__nothrow__)) void remque(void *__elem ) ;
1382 extern  __attribute__((__nothrow__)) ENTRY *hsearch(ENTRY __item ,   1382 extern  __attribute__((__nothrow__)) ENTRY *hsearch(ENTRY __item ,
1383                                                     ACTION __action ) ;   1383                                                     ACTION __action ) ;
1384 extern  __attribute__((__nothrow__)) int hcreate(size_t __nel ) ;   1384 extern  __attribute__((__nothrow__)) int hcreate(size_t __nel ) ;
1385 extern  __attribute__((__nothrow__)) void hdestroy(void) ;   1385 extern  __attribute__((__nothrow__)) void hdestroy(void) ;
1386 extern void *tsearch(void const   *__key , void **__rootp ,   1386 extern void *tsearch(void const   *__key , void **__rootp ,
1387                      int (*__compar)(void const   * , void const   * ) ) ;   1387                      int (*__compar)(void const   * , void const   * ) ) ;
1388 extern void *tfind(void const   *__key , void * const  *__rootp ,   1388 extern void *tfind(void const   *__key , void * const  *__rootp ,
1389                    int (*__compar)(void const   * , void const   * ) ) ;   1389                    int (*__compar)(void const   * , void const   * ) ) ;
1390 extern void *tdelete(void const   * __restrict  __key ,   1390 extern void *tdelete(void const   * __restrict  __key ,
1391                      void ** __restrict  __rootp ,   1391                      void ** __restrict  __rootp ,
1392                      int (*__compar)(void const   * , void const   * ) ) ;   1392                      int (*__compar)(void const   * , void const   * ) ) ;
1393 extern void twalk(void const   *__root ,   1393 extern void twalk(void const   *__root ,
1394                   void (*__action)(void const   *__nodep , VISIT __value ,   1394                   void (*__action)(void const   *__nodep , VISIT __value ,
1395                                    int __level ) ) ;   1395                                    int __level ) ) ;
1396 extern void *lfind(void const   *__key , void const   *__base ,   1396 extern void *lfind(void const   *__key , void const   *__base ,
1397                    size_t *__nmemb , size_t __size ,   1397                    size_t *__nmemb , size_t __size ,
1398                    int (*__compar)(void const   * , void const   * ) ) ;   1398                    int (*__compar)(void const   * , void const   * ) ) ;
1399 extern void *lsearch(void const   *__key , void *__base , size_t *__nmemb ,   1399 extern void *lsearch(void const   *__key , void *__base , size_t *__nmemb ,
1400                      size_t __size , int (*__compar)(void const   * ,   1400                      size_t __size , int (*__compar)(void const   * ,
1401                                                      void const   * ) ) ;   1401                                                      void const   * ) ) ;
1402 extern struct _IO_FILE_plus _IO_2_1_stdin_ ;   1402 extern struct _IO_FILE_plus _IO_2_1_stdin_ ;
1403 extern struct _IO_FILE_plus _IO_2_1_stdout_ ;   1403 extern struct _IO_FILE_plus _IO_2_1_stdout_ ;
1404 extern struct _IO_FILE_plus _IO_2_1_stderr_ ;   1404 extern struct _IO_FILE_plus _IO_2_1_stderr_ ;
1405 extern int __underflow(_IO_FILE * ) ;   1405 extern int __underflow(_IO_FILE * ) ;
1406 extern int __uflow(_IO_FILE * ) ;   1406 extern int __uflow(_IO_FILE * ) ;
1407 extern int __overflow(_IO_FILE * , int  ) ;   1407 extern int __overflow(_IO_FILE * , int  ) ;
1408 extern int _IO_getc(_IO_FILE *__fp ) ;   1408 extern int _IO_getc(_IO_FILE *__fp ) ;
1409 extern int _IO_putc(int __c , _IO_FILE *__fp ) ;   1409 extern int _IO_putc(int __c , _IO_FILE *__fp ) ;
1410 extern  __attribute__((__nothrow__)) int _IO_feof(_IO_FILE *__fp ) ;   1410 extern  __attribute__((__nothrow__)) int _IO_feof(_IO_FILE *__fp ) ;
1411 extern  __attribute__((__nothrow__)) int _IO_ferror(_IO_FILE *__fp ) ;   1411 extern  __attribute__((__nothrow__)) int _IO_ferror(_IO_FILE *__fp ) ;
1412 extern int _IO_peekc_locked(_IO_FILE *__fp ) ;   1412 extern int _IO_peekc_locked(_IO_FILE *__fp ) ;
1413 extern  __attribute__((__nothrow__)) void _IO_flockfile(_IO_FILE * ) ;   1413 extern  __attribute__((__nothrow__)) void _IO_flockfile(_IO_FILE * ) ;
1414 extern  __attribute__((__nothrow__)) void _IO_funlockfile(_IO_FILE * ) ;   1414 extern  __attribute__((__nothrow__)) void _IO_funlockfile(_IO_FILE * ) ;
1415 extern  __attribute__((__nothrow__)) int _IO_ftrylockfile(_IO_FILE * ) ;   1415 extern  __attribute__((__nothrow__)) int _IO_ftrylockfile(_IO_FILE * ) ;
1416 extern int _IO_vfscanf(_IO_FILE * __restrict   , char const   * __restrict   ,   1416 extern int _IO_vfscanf(_IO_FILE * __restrict   , char const   * __restrict   ,
1417                        __gnuc_va_list  , int * __restrict   ) ;   1417                        __gnuc_va_list  , int * __restrict   ) ;
1418 extern int _IO_vfprintf(_IO_FILE * __restrict   , char const   * __restrict   ,   1418 extern int _IO_vfprintf(_IO_FILE * __restrict   , char const   * __restrict   ,
1419                         __gnuc_va_list  ) ;   1419                         __gnuc_va_list  ) ;
1420 extern __ssize_t _IO_padn(_IO_FILE * , int  , __ssize_t  ) ;   1420 extern __ssize_t _IO_padn(_IO_FILE * , int  , __ssize_t  ) ;
1421 extern size_t _IO_sgetn(_IO_FILE * , void * , size_t  ) ;   1421 extern size_t _IO_sgetn(_IO_FILE * , void * , size_t  ) ;
1422 extern __off64_t _IO_seekoff(_IO_FILE * , __off64_t  , int  , int  ) ;   1422 extern __off64_t _IO_seekoff(_IO_FILE * , __off64_t  , int  , int  ) ;
1423 extern __off64_t _IO_seekpos(_IO_FILE * , __off64_t  , int  ) ;   1423 extern __off64_t _IO_seekpos(_IO_FILE * , __off64_t  , int  ) ;
1424 extern  __attribute__((__nothrow__)) void _IO_free_backup_area(_IO_FILE * ) ;   1424 extern  __attribute__((__nothrow__)) void _IO_free_backup_area(_IO_FILE * ) ;
1425 extern struct _IO_FILE *stdin ;   1425 extern struct _IO_FILE *stdin ;
1426 extern struct _IO_FILE *stdout ;   1426 extern struct _IO_FILE *stdout ;
1427 extern struct _IO_FILE *stderr ;   1427 extern struct _IO_FILE *stderr ;
1428 extern  __attribute__((__nothrow__)) int remove(char const   *__filename ) ;   1428 extern  __attribute__((__nothrow__)) int remove(char const   *__filename ) ;
1429 extern  __attribute__((__nothrow__)) int rename(char const   *__old ,   1429 extern  __attribute__((__nothrow__)) int rename(char const   *__old ,
1430                                                 char const   *__new ) ;   1430                                                 char const   *__new ) ;
1431 extern  __attribute__((__nothrow__)) int renameat(int __oldfd ,   1431 extern  __attribute__((__nothrow__)) int renameat(int __oldfd ,
1432                                                   char const   *__old ,   1432                                                   char const   *__old ,
1433                                                   int __newfd ,   1433                                                   int __newfd ,
1434                                                   char const   *__new ) ;   1434                                                   char const   *__new ) ;
1435 extern FILE *tmpfile(void)  __asm__("tmpfile64")  ;   1435 extern FILE *tmpfile(void)  __asm__("tmpfile64")  ;
1436 extern  __attribute__((__nothrow__)) char *tmpnam(char *__s ) ;   1436 extern  __attribute__((__nothrow__)) char *tmpnam(char *__s ) ;
1437 extern  __attribute__((__nothrow__)) char *tmpnam_r(char *__s ) ;   1437 extern  __attribute__((__nothrow__)) char *tmpnam_r(char *__s ) ;
1438 extern  __attribute__((__nothrow__)) char *tempnam(char const   *__dir ,   1438 extern  __attribute__((__nothrow__)) char *tempnam(char const   *__dir ,
1439                                                    char const   *__pfx )  __attribute__((__malloc__)) ;   1439                                                    char const   *__pfx )  __attribute__((__malloc__)) ;
1440 extern int fclose(FILE *__stream ) ;   1440 extern int fclose(FILE *__stream ) ;
1441 extern int fflush(FILE *__stream ) ;   1441 extern int fflush(FILE *__stream ) ;
1442 extern int fflush_unlocked(FILE *__stream ) ;   1442 extern int fflush_unlocked(FILE *__stream ) ;
1443 extern FILE *fopen(char const   * __restrict  __filename ,   1443 extern FILE *fopen(char const   * __restrict  __filename ,
1444                    char const   * __restrict  __modes )  __asm__("fopen64")  ;   1444                    char const   * __restrict  __modes )  __asm__("fopen64")  ;
1445 extern FILE *freopen(char const   * __restrict  __filename ,   1445 extern FILE *freopen(char const   * __restrict  __filename ,
1446                      char const   * __restrict  __modes ,   1446                      char const   * __restrict  __modes ,
1447                      FILE * __restrict  __stream )  __asm__("freopen64")  ;   1447                      FILE * __restrict  __stream )  __asm__("freopen64")  ;
1448 extern  __attribute__((__nothrow__)) FILE *fdopen(int __fd ,   1448 extern  __attribute__((__nothrow__)) FILE *fdopen(int __fd ,
1449                                                   char const   *__modes ) ;   1449                                                   char const   *__modes ) ;
1450 extern  __attribute__((__nothrow__)) FILE *fmemopen(void *__s , size_t __len ,   1450 extern  __attribute__((__nothrow__)) FILE *fmemopen(void *__s , size_t __len ,
1451                                                     char const   *__modes ) ;   1451                                                     char const   *__modes ) ;
1452 extern  __attribute__((__nothrow__)) FILE *open_memstream(char **__bufloc ,   1452 extern  __attribute__((__nothrow__)) FILE *open_memstream(char **__bufloc ,
1453                                                           size_t *__sizeloc ) ;   1453                                                           size_t *__sizeloc ) ;
1454 extern  __attribute__((__nothrow__)) void setbuf(FILE * __restrict  __stream ,   1454 extern  __attribute__((__nothrow__)) void setbuf(FILE * __restrict  __stream ,
1455                                                  char * __restrict  __buf ) ;   1455                                                  char * __restrict  __buf ) ;
1456 extern  __attribute__((__nothrow__)) int setvbuf(FILE * __restrict  __stream ,   1456 extern  __attribute__((__nothrow__)) int setvbuf(FILE * __restrict  __stream ,
1457                                                  char * __restrict  __buf ,   1457                                                  char * __restrict  __buf ,
1458                                                  int __modes , size_t __n ) ;   1458                                                  int __modes , size_t __n ) ;
1459 extern  __attribute__((__nothrow__)) void setbuffer(FILE * __restrict  __stream ,   1459 extern  __attribute__((__nothrow__)) void setbuffer(FILE * __restrict  __stream ,
1460                                                     char * __restrict  __buf ,   1460                                                     char * __restrict  __buf ,
1461                                                     size_t __size ) ;   1461                                                     size_t __size ) ;
1462 extern  __attribute__((__nothrow__)) void setlinebuf(FILE *__stream ) ;   1462 extern  __attribute__((__nothrow__)) void setlinebuf(FILE *__stream ) ;
1463 extern int fprintf(FILE * __restrict  __stream ,   1463 extern int fprintf(FILE * __restrict  __stream ,
1464                    char const   * __restrict  __format  , ...) ;   1464                    char const   * __restrict  __format  , ...) ;
1465 extern int printf(char const   * __restrict  __format  , ...) ;   1465 extern int printf(char const   * __restrict  __format  , ...) ;
1466 extern  __attribute__((__nothrow__)) int sprintf(char * __restrict  __s ,   1466 extern  __attribute__((__nothrow__)) int sprintf(char * __restrict  __s ,
1467                                                  char const   * __restrict  __format   1467                                                  char const   * __restrict  __format
1468                                                  , ...) ;   1468                                                  , ...) ;
1469 extern int vfprintf(FILE * __restrict  __s ,   1469 extern int vfprintf(FILE * __restrict  __s ,
1470                     char const   * __restrict  __format , __gnuc_va_list __arg ) ;   1470                     char const   * __restrict  __format , __gnuc_va_list __arg ) ;
1471 __inline extern int vprintf(char const   * __restrict  __fmt ,   1471 __inline extern int vprintf(char const   * __restrict  __fmt ,
1472                             __gnuc_va_list __arg ) ;   1472                             __gnuc_va_list __arg ) ;
1473 extern  __attribute__((__nothrow__)) int vsprintf(char * __restrict  __s ,   1473 extern  __attribute__((__nothrow__)) int vsprintf(char * __restrict  __s ,
1474                                                   char const   * __restrict  __format ,   1474                                                   char const   * __restrict  __format ,
1475                                                   __gnuc_va_list __arg ) ;   1475                                                   __gnuc_va_list __arg ) ;
1476 extern  __attribute__((__nothrow__)) int ( /* format attribute */  snprintf)(char * __restrict  __s ,   1476 extern  __attribute__((__nothrow__)) int ( /* format attribute */  snprintf)(char * __restrict  __s ,
1477                                                                              size_t __maxlen ,   1477                                                                              size_t __maxlen ,
1478                                                                              char const   * __restrict  __format   1478                                                                              char const   * __restrict  __format
1479                                                                              , ...) ;   1479                                                                              , ...) ;
1480 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsnprintf)(char * __restrict  __s ,   1480 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsnprintf)(char * __restrict  __s ,
1481                                                                               size_t __maxlen ,   1481                                                                               size_t __maxlen ,
1482                                                                               char const   * __restrict  __format ,   1482                                                                               char const   * __restrict  __format ,
1483                                                                               __gnuc_va_list __arg ) ;   1483                                                                               __gnuc_va_list __arg ) ;
1484 extern int ( /* format attribute */  vdprintf)(int __fd ,   1484 extern int ( /* format attribute */  vdprintf)(int __fd ,
1485                                                char const   * __restrict  __fmt ,   1485                                                char const   * __restrict  __fmt ,
1486                                                __gnuc_va_list __arg ) ;   1486                                                __gnuc_va_list __arg ) ;
1487 extern int ( /* format attribute */  dprintf)(int __fd ,   1487 extern int ( /* format attribute */  dprintf)(int __fd ,
1488                                               char const   * __restrict  __fmt   1488                                               char const   * __restrict  __fmt
1489                                               , ...) ;   1489                                               , ...) ;
1490 extern int fscanf(FILE * __restrict  __stream ,   1490 extern int fscanf(FILE * __restrict  __stream ,
1491                   char const   * __restrict  __format  , ...)  __asm__("__isoc99_fscanf")  ;   1491                   char const   * __restrict  __format  , ...)  __asm__("__isoc99_fscanf")  ;
1492 extern int scanf(char const   * __restrict  __format  , ...)  __asm__("__isoc99_scanf")  ;   1492 extern int scanf(char const   * __restrict  __format  , ...)  __asm__("__isoc99_scanf")  ;
1493 extern  __attribute__((__nothrow__)) int sscanf(char const   * __restrict  __s ,   1493 extern  __attribute__((__nothrow__)) int sscanf(char const   * __restrict  __s ,
1494                                                 char const   * __restrict  __format   1494                                                 char const   * __restrict  __format
1495                                                 , ...)  __asm__("__isoc99_sscanf")  ;   1495                                                 , ...)  __asm__("__isoc99_sscanf")  ;
1496 extern int ( /* format attribute */  vfscanf)(FILE * __restrict  __s ,   1496 extern int ( /* format attribute */  vfscanf)(FILE * __restrict  __s ,
1497                                               char const   * __restrict  __format ,   1497                                               char const   * __restrict  __format ,
1498                                               __gnuc_va_list __arg )  __asm__("__isoc99_vfscanf")  ;   1498                                               __gnuc_va_list __arg )  __asm__("__isoc99_vfscanf")  ;
1499 extern int ( /* format attribute */  vscanf)(char const   * __restrict  __format ,   1499 extern int ( /* format attribute */  vscanf)(char const   * __restrict  __format ,
1500                                              __gnuc_va_list __arg )  __asm__("__isoc99_vscanf")  ;   1500                                              __gnuc_va_list __arg )  __asm__("__isoc99_vscanf")  ;
1501 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsscanf)(char const   * __restrict  __s ,   1501 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsscanf)(char const   * __restrict  __s ,
1502                                                                             char const   * __restrict  __format ,   1502                                                                             char const   * __restrict  __format ,
1503                                                                             __gnuc_va_list __arg )  __asm__("__isoc99_vsscanf")  ;   1503                                                                             __gnuc_va_list __arg )  __asm__("__isoc99_vsscanf")  ;
1504 extern int fgetc(FILE *__stream ) ;   1504 extern int fgetc(FILE *__stream ) ;
1505 extern int getc(FILE *__stream ) ;   1505 extern int getc(FILE *__stream ) ;
1506 __inline extern int getchar(void) ;   1506 __inline extern int getchar(void) ;
1507 __inline extern int getc_unlocked(FILE *__fp ) ;   1507 __inline extern int getc_unlocked(FILE *__fp ) ;
1508 __inline extern int getchar_unlocked(void) ;   1508 __inline extern int getchar_unlocked(void) ;
1509 __inline extern int fgetc_unlocked(FILE *__fp ) ;   1509 __inline extern int fgetc_unlocked(FILE *__fp ) ;
1510 extern int fputc(int __c , FILE *__stream ) ;   1510 extern int fputc(int __c , FILE *__stream ) ;
1511 extern int putc(int __c , FILE *__stream ) ;   1511 extern int putc(int __c , FILE *__stream ) ;
1512 __inline extern int putchar(int __c ) ;   1512 __inline extern int putchar(int __c ) ;
1513 __inline extern int fputc_unlocked(int __c , FILE *__stream ) ;   1513 __inline extern int fputc_unlocked(int __c , FILE *__stream ) ;
1514 __inline extern int putc_unlocked(int __c , FILE *__stream ) ;   1514 __inline extern int putc_unlocked(int __c , FILE *__stream ) ;
1515 __inline extern int putchar_unlocked(int __c ) ;   1515 __inline extern int putchar_unlocked(int __c ) ;
1516 extern int getw(FILE *__stream ) ;   1516 extern int getw(FILE *__stream ) ;
1517 extern int putw(int __w , FILE *__stream ) ;   1517 extern int putw(int __w , FILE *__stream ) ;
1518 extern char *fgets(char * __restrict  __s , int __n ,   1518 extern char *fgets(char * __restrict  __s , int __n ,
1519                    FILE * __restrict  __stream ) ;   1519                    FILE * __restrict  __stream ) ;
1520 extern char *gets(char *__s ) ;   1520 extern char *gets(char *__s ) ;
1521 extern __ssize_t __getdelim(char ** __restrict  __lineptr ,   1521 extern __ssize_t __getdelim(char ** __restrict  __lineptr ,
1522                             size_t * __restrict  __n , int __delimiter ,   1522                             size_t * __restrict  __n , int __delimiter ,
1523                             FILE * __restrict  __stream ) ;   1523                             FILE * __restrict  __stream ) ;
1524 extern __ssize_t getdelim(char ** __restrict  __lineptr ,   1524 extern __ssize_t getdelim(char ** __restrict  __lineptr ,
1525                           size_t * __restrict  __n , int __delimiter ,   1525                           size_t * __restrict  __n , int __delimiter ,
1526                           FILE * __restrict  __stream ) ;   1526                           FILE * __restrict  __stream ) ;
1527 extern __ssize_t getline(char ** __restrict  __lineptr ,   1527 extern __ssize_t getline(char ** __restrict  __lineptr ,
1528                          size_t * __restrict  __n , FILE * __restrict  __stream ) ;   1528                          size_t * __restrict  __n , FILE * __restrict  __stream ) ;
1529 extern int fputs(char const   * __restrict  __s , FILE * __restrict  __stream ) ;   1529 extern int fputs(char const   * __restrict  __s , FILE * __restrict  __stream ) ;
1530 extern int puts(char const   *__s ) ;   1530 extern int puts(char const   *__s ) ;
1531 extern int ungetc(int __c , FILE *__stream ) ;   1531 extern int ungetc(int __c , FILE *__stream ) ;
1532 extern size_t fread(void * __restrict  __ptr , size_t __size , size_t __n ,   1532 extern size_t fread(void * __restrict  __ptr , size_t __size , size_t __n ,
1533                     FILE * __restrict  __stream ) ;   1533                     FILE * __restrict  __stream ) ;
1534 extern size_t fwrite(void const   * __restrict  __ptr , size_t __size ,   1534 extern size_t fwrite(void const   * __restrict  __ptr , size_t __size ,
1535                      size_t __n , FILE * __restrict  __s ) ;   1535                      size_t __n , FILE * __restrict  __s ) ;
1536 extern size_t fread_unlocked(void * __restrict  __ptr , size_t __size ,   1536 extern size_t fread_unlocked(void * __restrict  __ptr , size_t __size ,
1537                              size_t __n , FILE * __restrict  __stream ) ;   1537                              size_t __n , FILE * __restrict  __stream ) ;
1538 extern size_t fwrite_unlocked(void const   * __restrict  __ptr , size_t __size ,   1538 extern size_t fwrite_unlocked(void const   * __restrict  __ptr , size_t __size ,
1539                               size_t __n , FILE * __restrict  __stream ) ;   1539                               size_t __n , FILE * __restrict  __stream ) ;
1540 extern int fseek(FILE *__stream , long __off , int __whence ) ;   1540 extern int fseek(FILE *__stream , long __off , int __whence ) ;
1541 extern long ftell(FILE *__stream ) ;   1541 extern long ftell(FILE *__stream ) ;
1542 extern void rewind(FILE *__stream ) ;   1542 extern void rewind(FILE *__stream ) ;
1543 extern int fseeko(FILE *__stream , __off64_t __off , int __whence )  __asm__("fseeko64")  ;   1543 extern int fseeko(FILE *__stream , __off64_t __off , int __whence )  __asm__("fseeko64")  ;
1544 extern __off64_t ftello(FILE *__stream )  __asm__("ftello64")  ;   1544 extern __off64_t ftello(FILE *__stream )  __asm__("ftello64")  ;
1545 extern int fgetpos(FILE * __restrict  __stream , fpos_t * __restrict  __pos )  __asm__("fgetpos64")  ;   1545 extern int fgetpos(FILE * __restrict  __stream , fpos_t * __restrict  __pos )  __asm__("fgetpos64")  ;
1546 extern int fsetpos(FILE *__stream , fpos_t const   *__pos )  __asm__("fsetpos64")  ;   1546 extern int fsetpos(FILE *__stream , fpos_t const   *__pos )  __asm__("fsetpos64")  ;
1547 extern  __attribute__((__nothrow__)) void clearerr(FILE *__stream ) ;   1547 extern  __attribute__((__nothrow__)) void clearerr(FILE *__stream ) ;
1548 extern  __attribute__((__nothrow__)) int feof(FILE *__stream ) ;   1548 extern  __attribute__((__nothrow__)) int feof(FILE *__stream ) ;
1549 extern  __attribute__((__nothrow__)) int ferror(FILE *__stream ) ;   1549 extern  __attribute__((__nothrow__)) int ferror(FILE *__stream ) ;
1550 extern  __attribute__((__nothrow__)) void clearerr_unlocked(FILE *__stream ) ;   1550 extern  __attribute__((__nothrow__)) void clearerr_unlocked(FILE *__stream ) ;
1551 __inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;   1551 __inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;
1552 __inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;   1552 __inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;
1553 extern void perror(char const   *__s ) ;   1553 extern void perror(char const   *__s ) ;
1554 extern int sys_nerr ;   1554 extern int sys_nerr ;
1555 extern char const   * const  sys_errlist[] ;   1555 extern char const   * const  sys_errlist[] ;
1556 extern  __attribute__((__nothrow__)) int fileno(FILE *__stream ) ;   1556 extern  __attribute__((__nothrow__)) int fileno(FILE *__stream ) ;
1557 extern  __attribute__((__nothrow__)) int fileno_unlocked(FILE *__stream ) ;   1557 extern  __attribute__((__nothrow__)) int fileno_unlocked(FILE *__stream ) ;
1558 extern FILE *popen(char const   *__command , char const   *__modes ) ;   1558 extern FILE *popen(char const   *__command , char const   *__modes ) ;
1559 extern int pclose(FILE *__stream ) ;   1559 extern int pclose(FILE *__stream ) ;
1560 extern  __attribute__((__nothrow__)) char *ctermid(char *__s ) ;   1560 extern  __attribute__((__nothrow__)) char *ctermid(char *__s ) ;
1561 extern  __attribute__((__nothrow__)) void flockfile(FILE *__stream ) ;   1561 extern  __attribute__((__nothrow__)) void flockfile(FILE *__stream ) ;
1562 extern  __attribute__((__nothrow__)) int ftrylockfile(FILE *__stream ) ;   1562 extern  __attribute__((__nothrow__)) int ftrylockfile(FILE *__stream ) ;
1563 extern  __attribute__((__nothrow__)) void funlockfile(FILE *__stream ) ;   1563 extern  __attribute__((__nothrow__)) void funlockfile(FILE *__stream ) ;
1564 __inline extern int vprintf(char const   * __restrict  __fmt ,   1564 __inline extern int vprintf(char const   * __restrict  __fmt ,
1565                             __gnuc_va_list __arg )   1565                             __gnuc_va_list __arg )
1566 {   1566 {
1567   int tmp ;   1567   int tmp ;
1568     1568  
1569   {   1569   {
1570   tmp = vfprintf((FILE */* __restrict  */)stdout, __fmt, __arg);   1570   tmp = vfprintf((FILE */* __restrict  */)stdout, __fmt, __arg);
1571   return (tmp);   1571   return (tmp);
1572 }   1572 }
1573 }   1573 }
1574 __inline extern int getchar(void)   1574 __inline extern int getchar(void)
1575 {   1575 {
1576   int tmp ;   1576   int tmp ;
1577     1577  
1578   {   1578   {
1579   tmp = _IO_getc(stdin);   1579   tmp = _IO_getc(stdin);
1580   return (tmp);   1580   return (tmp);
1581 }   1581 }
1582 }   1582 }
1583 __inline extern int fgetc_unlocked(FILE *__fp )   1583 __inline extern int fgetc_unlocked(FILE *__fp )
1584 {   1584 {
1585   long tmp ;   1585   long tmp ;
1586   int tmp___0 ;   1586   int tmp___0 ;
1587   char *tmp___1 ;   1587   char *tmp___1 ;
1588   int tmp___2 ;   1588   int tmp___2 ;
1589   long tmp___3 ;   1589   long tmp___3 ;
1590     1590  
1591   {   1591   {
1592   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),   1592   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),
1593                              0L);   1593                              0L);
1594   if (tmp___3) {   1594   if (tmp___3) {
1595     tmp___0 = __uflow(__fp);   1595     tmp___0 = __uflow(__fp);
1596     tmp___2 = tmp___0;   1596     tmp___2 = tmp___0;
1597   } else {   1597   } else {
1598     tmp___1 = __fp->_IO_read_ptr;   1598     tmp___1 = __fp->_IO_read_ptr;
1599     (__fp->_IO_read_ptr) ++;   1599     (__fp->_IO_read_ptr) ++;
1600     tmp___2 = (int )*((unsigned char *)tmp___1);   1600     tmp___2 = (int )*((unsigned char *)tmp___1);
1601   }   1601   }
1602   return (tmp___2);   1602   return (tmp___2);
1603 }   1603 }
1604 }   1604 }
1605 __inline extern int getc_unlocked(FILE *__fp )   1605 __inline extern int getc_unlocked(FILE *__fp )
1606 {   1606 {
1607   long tmp ;   1607   long tmp ;
1608   int tmp___0 ;   1608   int tmp___0 ;
1609   char *tmp___1 ;   1609   char *tmp___1 ;
1610   int tmp___2 ;   1610   int tmp___2 ;
1611   long tmp___3 ;   1611   long tmp___3 ;
1612     1612  
1613   {   1613   {
1614   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),   1614   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),
1615                              0L);   1615                              0L);
1616   if (tmp___3) {   1616   if (tmp___3) {
1617     tmp___0 = __uflow(__fp);   1617     tmp___0 = __uflow(__fp);
1618     tmp___2 = tmp___0;   1618     tmp___2 = tmp___0;
1619   } else {   1619   } else {
1620     tmp___1 = __fp->_IO_read_ptr;   1620     tmp___1 = __fp->_IO_read_ptr;
1621     (__fp->_IO_read_ptr) ++;   1621     (__fp->_IO_read_ptr) ++;
1622     tmp___2 = (int )*((unsigned char *)tmp___1);   1622     tmp___2 = (int )*((unsigned char *)tmp___1);
1623   }   1623   }
1624   return (tmp___2);   1624   return (tmp___2);
1625 }   1625 }
1626 }   1626 }
1627 __inline extern int getchar_unlocked(void)   1627 __inline extern int getchar_unlocked(void)
1628 {   1628 {
1629   long tmp ;   1629   long tmp ;
1630   int tmp___0 ;   1630   int tmp___0 ;
1631   char *tmp___1 ;   1631   char *tmp___1 ;
1632   int tmp___2 ;   1632   int tmp___2 ;
1633   long tmp___3 ;   1633   long tmp___3 ;
1634     1634  
1635   {   1635   {
1636   tmp___3 = __builtin_expect((long )((unsigned int )stdin->_IO_read_ptr >= (unsigned int )stdin->_IO_read_end),   1636   tmp___3 = __builtin_expect((long )((unsigned int )stdin->_IO_read_ptr >= (unsigned int )stdin->_IO_read_end),
1637                              0L);   1637                              0L);
1638   if (tmp___3) {   1638   if (tmp___3) {
1639     tmp___0 = __uflow(stdin);   1639     tmp___0 = __uflow(stdin);
1640     tmp___2 = tmp___0;   1640     tmp___2 = tmp___0;
1641   } else {   1641   } else {
1642     tmp___1 = stdin->_IO_read_ptr;   1642     tmp___1 = stdin->_IO_read_ptr;
1643     (stdin->_IO_read_ptr) ++;   1643     (stdin->_IO_read_ptr) ++;
1644     tmp___2 = (int )*((unsigned char *)tmp___1);   1644     tmp___2 = (int )*((unsigned char *)tmp___1);
1645   }   1645   }
1646   return (tmp___2);   1646   return (tmp___2);
1647 }   1647 }
1648 }   1648 }
1649 __inline extern int putchar(int __c )   1649 __inline extern int putchar(int __c )
1650 {   1650 {
1651   int tmp ;   1651   int tmp ;
1652     1652  
1653   {   1653   {
1654   tmp = _IO_putc(__c, stdout);   1654   tmp = _IO_putc(__c, stdout);
1655   return (tmp);   1655   return (tmp);
1656 }   1656 }
1657 }   1657 }
1658 __inline extern int fputc_unlocked(int __c , FILE *__stream )   1658 __inline extern int fputc_unlocked(int __c , FILE *__stream )
1659 {   1659 {
1660   long tmp ;   1660   long tmp ;
1661   int tmp___0 ;   1661   int tmp___0 ;
1662   char *tmp___1 ;   1662   char *tmp___1 ;
1663   char tmp___2 ;   1663   char tmp___2 ;
1664   int tmp___3 ;   1664   int tmp___3 ;
1665   long tmp___4 ;   1665   long tmp___4 ;
1666     1666  
1667   {   1667   {
1668   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),   1668   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),
1669                              0L);   1669                              0L);
1670   if (tmp___4) {   1670   if (tmp___4) {
1671     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));   1671     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));
1672     tmp___3 = tmp___0;   1672     tmp___3 = tmp___0;
1673   } else {   1673   } else {
1674     tmp___1 = __stream->_IO_write_ptr;   1674     tmp___1 = __stream->_IO_write_ptr;
1675     (__stream->_IO_write_ptr) ++;   1675     (__stream->_IO_write_ptr) ++;
1676     tmp___2 = (char )__c;   1676     tmp___2 = (char )__c;
1677     *tmp___1 = tmp___2;   1677     *tmp___1 = tmp___2;
1678     tmp___3 = (int )((unsigned char )tmp___2);   1678     tmp___3 = (int )((unsigned char )tmp___2);
1679   }   1679   }
1680   return (tmp___3);   1680   return (tmp___3);
1681 }   1681 }
1682 }   1682 }
1683 __inline extern int putc_unlocked(int __c , FILE *__stream )   1683 __inline extern int putc_unlocked(int __c , FILE *__stream )
1684 {   1684 {
1685   long tmp ;   1685   long tmp ;
1686   int tmp___0 ;   1686   int tmp___0 ;
1687   char *tmp___1 ;   1687   char *tmp___1 ;
1688   char tmp___2 ;   1688   char tmp___2 ;
1689   int tmp___3 ;   1689   int tmp___3 ;
1690   long tmp___4 ;   1690   long tmp___4 ;
1691     1691  
1692   {   1692   {
1693   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),   1693   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),
1694                              0L);   1694                              0L);
1695   if (tmp___4) {   1695   if (tmp___4) {
1696     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));   1696     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));
1697     tmp___3 = tmp___0;   1697     tmp___3 = tmp___0;
1698   } else {   1698   } else {
1699     tmp___1 = __stream->_IO_write_ptr;   1699     tmp___1 = __stream->_IO_write_ptr;
1700     (__stream->_IO_write_ptr) ++;   1700     (__stream->_IO_write_ptr) ++;
1701     tmp___2 = (char )__c;   1701     tmp___2 = (char )__c;
1702     *tmp___1 = tmp___2;   1702     *tmp___1 = tmp___2;
1703     tmp___3 = (int )((unsigned char )tmp___2);   1703     tmp___3 = (int )((unsigned char )tmp___2);
1704   }   1704   }
1705   return (tmp___3);   1705   return (tmp___3);
1706 }   1706 }
1707 }   1707 }
1708 __inline extern int putchar_unlocked(int __c )   1708 __inline extern int putchar_unlocked(int __c )
1709 {   1709 {
1710   long tmp ;   1710   long tmp ;
1711   int tmp___0 ;   1711   int tmp___0 ;
1712   char *tmp___1 ;   1712   char *tmp___1 ;
1713   char tmp___2 ;   1713   char tmp___2 ;
1714   int tmp___3 ;   1714   int tmp___3 ;
1715   long tmp___4 ;   1715   long tmp___4 ;
1716     1716  
1717   {   1717   {
1718   tmp___4 = __builtin_expect((long )((unsigned int )stdout->_IO_write_ptr >= (unsigned int )stdout->_IO_write_end),   1718   tmp___4 = __builtin_expect((long )((unsigned int )stdout->_IO_write_ptr >= (unsigned int )stdout->_IO_write_end),
1719                              0L);   1719                              0L);
1720   if (tmp___4) {   1720   if (tmp___4) {
1721     tmp___0 = __overflow(stdout, (int )((unsigned char )__c));   1721     tmp___0 = __overflow(stdout, (int )((unsigned char )__c));
1722     tmp___3 = tmp___0;   1722     tmp___3 = tmp___0;
1723   } else {   1723   } else {
1724     tmp___1 = stdout->_IO_write_ptr;   1724     tmp___1 = stdout->_IO_write_ptr;
1725     (stdout->_IO_write_ptr) ++;   1725     (stdout->_IO_write_ptr) ++;
1726     tmp___2 = (char )__c;   1726     tmp___2 = (char )__c;
1727     *tmp___1 = tmp___2;   1727     *tmp___1 = tmp___2;
1728     tmp___3 = (int )((unsigned char )tmp___2);   1728     tmp___3 = (int )((unsigned char )tmp___2);
1729   }   1729   }
1730   return (tmp___3);   1730   return (tmp___3);
1731 }   1731 }
1732 }   1732 }
1733 __inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;   1733 __inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;
1734 __inline extern int feof_unlocked(FILE *__stream )   1734 __inline extern int feof_unlocked(FILE *__stream )
1735 {   1735 {
1736     1736  
1737     1737  
1738   {   1738   {
1739   return ((__stream->_flags & 16) != 0);   1739   return ((__stream->_flags & 16) != 0);
1740 }   1740 }
1741 }   1741 }
1742 __inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;   1742 __inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;
1743 __inline extern int ferror_unlocked(FILE *__stream )   1743 __inline extern int ferror_unlocked(FILE *__stream )
1744 {   1744 {
1745     1745  
1746     1746  
1747   {   1747   {
1748   return ((__stream->_flags & 32) != 0);   1748   return ((__stream->_flags & 32) != 0);
1749 }   1749 }
1750 }   1750 }
1751 extern char const   *TIFFGetVersion(void) ;   1751 extern char const   *TIFFGetVersion(void) ;
1752 extern TIFFCodec const   *TIFFFindCODEC(uint16  ) ;   1752 extern TIFFCodec const   *TIFFFindCODEC(uint16  ) ;
1753 extern TIFFCodec *TIFFRegisterCODEC(uint16  , char const   * ,   1753 extern TIFFCodec *TIFFRegisterCODEC(uint16  , char const   * ,
1754                                     int (*)(TIFF * , int  ) ) ;   1754                                     int (*)(TIFF * , int  ) ) ;
1755 extern void TIFFUnRegisterCODEC(TIFFCodec * ) ;   1755 extern void TIFFUnRegisterCODEC(TIFFCodec * ) ;
1756 extern int TIFFIsCODECConfigured(uint16  ) ;   1756 extern int TIFFIsCODECConfigured(uint16  ) ;
1757 extern TIFFCodec *TIFFGetConfiguredCODECs(void) ;   1757 extern TIFFCodec *TIFFGetConfiguredCODECs(void) ;
1758 extern void *_TIFFmalloc(tmsize_t s ) ;   1758 extern void *_TIFFmalloc(tmsize_t s ) ;
1759 extern void *_TIFFrealloc(void *p , tmsize_t s ) ;   1759 extern void *_TIFFrealloc(void *p , tmsize_t s ) ;
1760 extern void _TIFFmemset(void *p , int v , tmsize_t c ) ;   1760 extern void _TIFFmemset(void *p , int v , tmsize_t c ) ;
1761 extern void _TIFFmemcpy(void *d , void const   *s , tmsize_t c ) ;   1761 extern void _TIFFmemcpy(void *d , void const   *s , tmsize_t c ) ;
1762 extern int _TIFFmemcmp(void const   *p1 , void const   *p2 , tmsize_t c ) ;   1762 extern int _TIFFmemcmp(void const   *p1 , void const   *p2 , tmsize_t c ) ;
1763 extern void _TIFFfree(void *p ) ;   1763 extern void _TIFFfree(void *p ) ;
1764 extern int TIFFGetTagListCount(TIFF * ) ;   1764 extern int TIFFGetTagListCount(TIFF * ) ;
1765 extern uint32 TIFFGetTagListEntry(TIFF * , int tag_index ) ;   1765 extern uint32 TIFFGetTagListEntry(TIFF * , int tag_index ) ;
1766 TIFFField const   *TIFFFindField(TIFF *tif , uint32 tag , TIFFDataType dt ) ;   1766 TIFFField const   *TIFFFindField(TIFF *tif , uint32 tag , TIFFDataType dt ) ;
1767 TIFFField const   *TIFFFieldWithTag(TIFF *tif , uint32 tag ) ;   1767 TIFFField const   *TIFFFieldWithTag(TIFF *tif , uint32 tag ) ;
1768 TIFFField const   *TIFFFieldWithName(TIFF *tif , char const   *field_name ) ;   1768 TIFFField const   *TIFFFieldWithName(TIFF *tif , char const   *field_name ) ;
1769 extern TIFFTagMethods *TIFFAccessTagMethods(TIFF * ) ;   1769 extern TIFFTagMethods *TIFFAccessTagMethods(TIFF * ) ;
1770 extern void *TIFFGetClientInfo(TIFF * , char const   * ) ;   1770 extern void *TIFFGetClientInfo(TIFF * , char const   * ) ;
1771 extern void TIFFSetClientInfo(TIFF * , void * , char const   * ) ;   1771 extern void TIFFSetClientInfo(TIFF * , void * , char const   * ) ;
1772 extern void TIFFCleanup(TIFF *tif ) ;   1772 extern void TIFFCleanup(TIFF *tif ) ;
1773 extern void TIFFClose(TIFF *tif ) ;   1773 extern void TIFFClose(TIFF *tif ) ;
1774 extern int TIFFFlush(TIFF *tif ) ;   1774 extern int TIFFFlush(TIFF *tif ) ;
1775 extern int TIFFFlushData(TIFF *tif ) ;   1775 extern int TIFFFlushData(TIFF *tif ) ;
1776 extern int TIFFGetField(TIFF *tif , uint32 tag  , ...) ;   1776 extern int TIFFGetField(TIFF *tif , uint32 tag  , ...) ;
1777 extern int TIFFVGetField(TIFF *tif , uint32 tag , va_list ap ) ;   1777 extern int TIFFVGetField(TIFF *tif , uint32 tag , va_list ap ) ;
1778 extern int TIFFGetFieldDefaulted(TIFF *tif , uint32 tag  , ...) ;   1778 extern int TIFFGetFieldDefaulted(TIFF *tif , uint32 tag  , ...) ;
1779 extern int TIFFVGetFieldDefaulted(TIFF *tif , uint32 tag , va_list ap ) ;   1779 extern int TIFFVGetFieldDefaulted(TIFF *tif , uint32 tag , va_list ap ) ;
1780 extern int TIFFReadDirectory(TIFF *tif ) ;   1780 extern int TIFFReadDirectory(TIFF *tif ) ;
1781 extern int TIFFReadCustomDirectory(TIFF *tif , uint64 diroff ,   1781 extern int TIFFReadCustomDirectory(TIFF *tif , uint64 diroff ,
1782                                    TIFFFieldArray const   *infoarray ) ;   1782                                    TIFFFieldArray const   *infoarray ) ;
1783 extern int TIFFReadEXIFDirectory(TIFF *tif , uint64 diroff ) ;   1783 extern int TIFFReadEXIFDirectory(TIFF *tif , uint64 diroff ) ;
1784 extern uint64 TIFFScanlineSize64(TIFF *tif ) ;   1784 extern uint64 TIFFScanlineSize64(TIFF *tif ) ;
1785 extern tmsize_t TIFFScanlineSize(TIFF *tif ) ;   1785 extern tmsize_t TIFFScanlineSize(TIFF *tif ) ;
1786 extern uint64 TIFFRasterScanlineSize64(TIFF *tif ) ;   1786 extern uint64 TIFFRasterScanlineSize64(TIFF *tif ) ;
1787 extern tmsize_t TIFFRasterScanlineSize(TIFF *tif ) ;   1787 extern tmsize_t TIFFRasterScanlineSize(TIFF *tif ) ;
1788 extern uint64 TIFFStripSize64(TIFF *tif ) ;   1788 extern uint64 TIFFStripSize64(TIFF *tif ) ;
1789 extern tmsize_t TIFFStripSize(TIFF *tif ) ;   1789 extern tmsize_t TIFFStripSize(TIFF *tif ) ;
1790 extern uint64 TIFFRawStripSize64(TIFF *tif , uint32 strip ) ;   1790 extern uint64 TIFFRawStripSize64(TIFF *tif , uint32 strip ) ;
1791 extern tmsize_t TIFFRawStripSize(TIFF *tif , uint32 strip ) ;   1791 extern tmsize_t TIFFRawStripSize(TIFF *tif , uint32 strip ) ;
1792 extern uint64 TIFFVStripSize64(TIFF *tif , uint32 nrows ) ;   1792 extern uint64 TIFFVStripSize64(TIFF *tif , uint32 nrows ) ;
1793 extern tmsize_t TIFFVStripSize(TIFF *tif , uint32 nrows ) ;   1793 extern tmsize_t TIFFVStripSize(TIFF *tif , uint32 nrows ) ;
1794 extern uint64 TIFFTileRowSize64(TIFF *tif ) ;   1794 extern uint64 TIFFTileRowSize64(TIFF *tif ) ;
1795 extern tmsize_t TIFFTileRowSize(TIFF *tif ) ;   1795 extern tmsize_t TIFFTileRowSize(TIFF *tif ) ;
1796 extern uint64 TIFFTileSize64(TIFF *tif ) ;   1796 extern uint64 TIFFTileSize64(TIFF *tif ) ;
1797 extern tmsize_t TIFFTileSize(TIFF *tif ) ;   1797 extern tmsize_t TIFFTileSize(TIFF *tif ) ;
1798 extern uint64 TIFFVTileSize64(TIFF *tif , uint32 nrows ) ;   1798 extern uint64 TIFFVTileSize64(TIFF *tif , uint32 nrows ) ;
1799 extern tmsize_t TIFFVTileSize(TIFF *tif , uint32 nrows ) ;   1799 extern tmsize_t TIFFVTileSize(TIFF *tif , uint32 nrows ) ;
1800 extern uint32 TIFFDefaultStripSize(TIFF *tif , uint32 request ) ;   1800 extern uint32 TIFFDefaultStripSize(TIFF *tif , uint32 request ) ;
1801 extern void TIFFDefaultTileSize(TIFF * , uint32 * , uint32 * ) ;   1801 extern void TIFFDefaultTileSize(TIFF * , uint32 * , uint32 * ) ;
1802 extern int TIFFFileno(TIFF * ) ;   1802 extern int TIFFFileno(TIFF * ) ;
1803 extern int TIFFSetFileno(TIFF * , int  ) ;   1803 extern int TIFFSetFileno(TIFF * , int  ) ;
1804 extern thandle_t TIFFClientdata(TIFF * ) ;   1804 extern thandle_t TIFFClientdata(TIFF * ) ;
1805 extern thandle_t TIFFSetClientdata(TIFF * , thandle_t  ) ;   1805 extern thandle_t TIFFSetClientdata(TIFF * , thandle_t  ) ;
1806 extern int TIFFGetMode(TIFF * ) ;   1806 extern int TIFFGetMode(TIFF * ) ;
1807 extern int TIFFSetMode(TIFF * , int  ) ;   1807 extern int TIFFSetMode(TIFF * , int  ) ;
1808 extern int TIFFIsTiled(TIFF * ) ;   1808 extern int TIFFIsTiled(TIFF * ) ;
1809 extern int TIFFIsByteSwapped(TIFF * ) ;   1809 extern int TIFFIsByteSwapped(TIFF * ) ;
1810 extern int TIFFIsUpSampled(TIFF * ) ;   1810 extern int TIFFIsUpSampled(TIFF * ) ;
1811 extern int TIFFIsMSB2LSB(TIFF * ) ;   1811 extern int TIFFIsMSB2LSB(TIFF * ) ;
1812 extern int TIFFIsBigEndian(TIFF * ) ;   1812 extern int TIFFIsBigEndian(TIFF * ) ;
1813 extern TIFFReadWriteProc TIFFGetReadProc(TIFF * ) ;   1813 extern TIFFReadWriteProc TIFFGetReadProc(TIFF * ) ;
1814 extern TIFFReadWriteProc TIFFGetWriteProc(TIFF * ) ;   1814 extern TIFFReadWriteProc TIFFGetWriteProc(TIFF * ) ;
1815 extern TIFFSeekProc TIFFGetSeekProc(TIFF * ) ;   1815 extern TIFFSeekProc TIFFGetSeekProc(TIFF * ) ;
1816 extern TIFFCloseProc TIFFGetCloseProc(TIFF * ) ;   1816 extern TIFFCloseProc TIFFGetCloseProc(TIFF * ) ;
1817 extern TIFFSizeProc TIFFGetSizeProc(TIFF * ) ;   1817 extern TIFFSizeProc TIFFGetSizeProc(TIFF * ) ;
1818 extern TIFFMapFileProc TIFFGetMapFileProc(TIFF * ) ;   1818 extern TIFFMapFileProc TIFFGetMapFileProc(TIFF * ) ;
1819 extern TIFFUnmapFileProc TIFFGetUnmapFileProc(TIFF * ) ;   1819 extern TIFFUnmapFileProc TIFFGetUnmapFileProc(TIFF * ) ;
1820 extern uint32 TIFFCurrentRow(TIFF * ) ;   1820 extern uint32 TIFFCurrentRow(TIFF * ) ;
1821 extern uint16 TIFFCurrentDirectory(TIFF * ) ;   1821 extern uint16 TIFFCurrentDirectory(TIFF * ) ;
1822 extern uint16 TIFFNumberOfDirectories(TIFF * ) ;   1822 extern uint16 TIFFNumberOfDirectories(TIFF * ) ;
1823 extern uint64 TIFFCurrentDirOffset(TIFF * ) ;   1823 extern uint64 TIFFCurrentDirOffset(TIFF * ) ;
1824 extern uint32 TIFFCurrentStrip(TIFF * ) ;   1824 extern uint32 TIFFCurrentStrip(TIFF * ) ;
1825 extern uint32 TIFFCurrentTile(TIFF *tif ) ;   1825 extern uint32 TIFFCurrentTile(TIFF *tif ) ;
1826 extern int TIFFReadBufferSetup(TIFF *tif , void *bp , tmsize_t size ) ;   1826 extern int TIFFReadBufferSetup(TIFF *tif , void *bp , tmsize_t size ) ;
1827 extern int TIFFWriteBufferSetup(TIFF *tif , void *bp , tmsize_t size ) ;   1827 extern int TIFFWriteBufferSetup(TIFF *tif , void *bp , tmsize_t size ) ;
1828 extern int TIFFSetupStrips(TIFF * ) ;   1828 extern int TIFFSetupStrips(TIFF * ) ;
1829 extern int TIFFWriteCheck(TIFF * , int  , char const   * ) ;   1829 extern int TIFFWriteCheck(TIFF * , int  , char const   * ) ;
1830 extern void TIFFFreeDirectory(TIFF * ) ;   1830 extern void TIFFFreeDirectory(TIFF * ) ;
1831 extern int TIFFCreateDirectory(TIFF * ) ;   1831 extern int TIFFCreateDirectory(TIFF * ) ;
1832 extern int TIFFLastDirectory(TIFF * ) ;   1832 extern int TIFFLastDirectory(TIFF * ) ;
1833 extern int TIFFSetDirectory(TIFF * , uint16  ) ;   1833 extern int TIFFSetDirectory(TIFF * , uint16  ) ;
1834 extern int TIFFSetSubDirectory(TIFF * , uint64  ) ;   1834 extern int TIFFSetSubDirectory(TIFF * , uint64  ) ;
1835 extern int TIFFUnlinkDirectory(TIFF * , uint16  ) ;   1835 extern int TIFFUnlinkDirectory(TIFF * , uint16  ) ;
1836 extern int TIFFSetField(TIFF * , uint32   , ...) ;   1836 extern int TIFFSetField(TIFF * , uint32   , ...) ;
1837 extern int TIFFVSetField(TIFF * , uint32  , va_list  ) ;   1837 extern int TIFFVSetField(TIFF * , uint32  , va_list  ) ;
1838 extern int TIFFWriteDirectory(TIFF * ) ;   1838 extern int TIFFWriteDirectory(TIFF * ) ;
1839 extern int TIFFCheckpointDirectory(TIFF * ) ;   1839 extern int TIFFCheckpointDirectory(TIFF * ) ;
1840 extern int TIFFRewriteDirectory(TIFF * ) ;   1840 extern int TIFFRewriteDirectory(TIFF * ) ;
1841 extern void TIFFPrintDirectory(TIFF * , FILE * , long  ) ;   1841 extern void TIFFPrintDirectory(TIFF * , FILE * , long  ) ;
1842 extern int TIFFReadScanline(TIFF *tif , void *buf , uint32 row , uint16 sample ) ;   1842 extern int TIFFReadScanline(TIFF *tif , void *buf , uint32 row , uint16 sample ) ;
1843 extern int TIFFWriteScanline(TIFF *tif , void *buf , uint32 row , uint16 sample ) ;   1843 extern int TIFFWriteScanline(TIFF *tif , void *buf , uint32 row , uint16 sample ) ;
1844 extern int TIFFReadRGBAImage(TIFF * , uint32  , uint32  , uint32 * , int  ) ;   1844 extern int TIFFReadRGBAImage(TIFF * , uint32  , uint32  , uint32 * , int  ) ;
1845 extern int TIFFReadRGBAImageOriented(TIFF * , uint32  , uint32  , uint32 * ,   1845 extern int TIFFReadRGBAImageOriented(TIFF * , uint32  , uint32  , uint32 * ,
1846                                      int  , int  ) ;   1846                                      int  , int  ) ;
1847 extern int TIFFReadRGBAStrip(TIFF * , uint32  , uint32 * ) ;   1847 extern int TIFFReadRGBAStrip(TIFF * , uint32  , uint32 * ) ;
1848 extern int TIFFReadRGBATile(TIFF * , uint32  , uint32  , uint32 * ) ;   1848 extern int TIFFReadRGBATile(TIFF * , uint32  , uint32  , uint32 * ) ;
1849 extern int TIFFRGBAImageOK(TIFF * , char * ) ;   1849 extern int TIFFRGBAImageOK(TIFF * , char * ) ;
1850 extern int TIFFRGBAImageBegin(TIFFRGBAImage * , TIFF * , int  , char * ) ;   1850 extern int TIFFRGBAImageBegin(TIFFRGBAImage * , TIFF * , int  , char * ) ;
1851 extern int TIFFRGBAImageGet(TIFFRGBAImage * , uint32 * , uint32  , uint32  ) ;   1851 extern int TIFFRGBAImageGet(TIFFRGBAImage * , uint32 * , uint32  , uint32  ) ;
1852 extern void TIFFRGBAImageEnd(TIFFRGBAImage * ) ;   1852 extern void TIFFRGBAImageEnd(TIFFRGBAImage * ) ;
1853 extern TIFF *TIFFOpen(char const   * , char const   * ) ;   1853 extern TIFF *TIFFOpen(char const   * , char const   * ) ;
1854 extern TIFF *TIFFFdOpen(int  , char const   * , char const   * ) ;   1854 extern TIFF *TIFFFdOpen(int  , char const   * , char const   * ) ;
1855 extern TIFF *TIFFClientOpen(char const   * , char const   * , thandle_t  ,   1855 extern TIFF *TIFFClientOpen(char const   * , char const   * , thandle_t  ,
1856                             tmsize_t (*)(thandle_t  , void * , tmsize_t  ) ,   1856                             tmsize_t (*)(thandle_t  , void * , tmsize_t  ) ,
1857                             tmsize_t (*)(thandle_t  , void * , tmsize_t  ) ,   1857                             tmsize_t (*)(thandle_t  , void * , tmsize_t  ) ,
1858                             uint64 (*)(thandle_t  , uint64  , int  ) ,   1858                             uint64 (*)(thandle_t  , uint64  , int  ) ,
1859                             int (*)(thandle_t  ) , uint64 (*)(thandle_t  ) ,   1859                             int (*)(thandle_t  ) , uint64 (*)(thandle_t  ) ,
1860                             int (*)(thandle_t  , void **base , toff_t *size ) ,   1860                             int (*)(thandle_t  , void **base , toff_t *size ) ,
1861                             void (*)(thandle_t  , void *base , toff_t size ) ) ;   1861                             void (*)(thandle_t  , void *base , toff_t size ) ) ;
1862 extern char const   *TIFFFileName(TIFF * ) ;   1862 extern char const   *TIFFFileName(TIFF * ) ;
1863 extern char const   *TIFFSetFileName(TIFF * , char const   * ) ;   1863 extern char const   *TIFFSetFileName(TIFF * , char const   * ) ;
1864 extern void TIFFError(char const   * , char const   *  , ...) ;   1864 extern void TIFFError(char const   * , char const   *  , ...) ;
1865 extern void TIFFErrorExt(thandle_t  , char const   * , char const   *  , ...) ;   1865 extern void TIFFErrorExt(thandle_t  , char const   * , char const   *  , ...) ;
1866 extern void TIFFWarning(char const   * , char const   *  , ...) ;   1866 extern void TIFFWarning(char const   * , char const   *  , ...) ;
1867 extern void TIFFWarningExt(thandle_t  , char const   * , char const   *  , ...) ;   1867 extern void TIFFWarningExt(thandle_t  , char const   * , char const   *  , ...) ;
1868 extern TIFFErrorHandler TIFFSetErrorHandler(void (*)(char const   * ,   1868 extern TIFFErrorHandler TIFFSetErrorHandler(void (*)(char const   * ,
1869                                                      char const   * , va_list  ) ) ;   1869                                                      char const   * , va_list  ) ) ;
1870 extern TIFFErrorHandlerExt TIFFSetErrorHandlerExt(void (*)(thandle_t  ,   1870 extern TIFFErrorHandlerExt TIFFSetErrorHandlerExt(void (*)(thandle_t  ,
1871                                                            char const   * ,   1871                                                            char const   * ,
1872                                                            char const   * ,   1872                                                            char const   * ,
1873                                                            va_list  ) ) ;   1873                                                            va_list  ) ) ;
1874 extern TIFFErrorHandler TIFFSetWarningHandler(void (*)(char const   * ,   1874 extern TIFFErrorHandler TIFFSetWarningHandler(void (*)(char const   * ,
1875                                                        char const   * ,   1875                                                        char const   * ,
1876                                                        va_list  ) ) ;   1876                                                        va_list  ) ) ;
1877 extern TIFFErrorHandlerExt TIFFSetWarningHandlerExt(void (*)(thandle_t  ,   1877 extern TIFFErrorHandlerExt TIFFSetWarningHandlerExt(void (*)(thandle_t  ,
1878                                                              char const   * ,   1878                                                              char const   * ,
1879                                                              char const   * ,   1879                                                              char const   * ,
1880                                                              va_list  ) ) ;   1880                                                              va_list  ) ) ;
1881 extern TIFFExtendProc TIFFSetTagExtender(void (*)(TIFF * ) ) ;   1881 extern TIFFExtendProc TIFFSetTagExtender(void (*)(TIFF * ) ) ;
1882 extern uint32 TIFFComputeTile(TIFF *tif , uint32 x , uint32 y , uint32 z ,   1882 extern uint32 TIFFComputeTile(TIFF *tif , uint32 x , uint32 y , uint32 z ,
1883                               uint16 s ) ;   1883                               uint16 s ) ;
1884 extern int TIFFCheckTile(TIFF *tif , uint32 x , uint32 y , uint32 z , uint16 s ) ;   1884 extern int TIFFCheckTile(TIFF *tif , uint32 x , uint32 y , uint32 z , uint16 s ) ;
1885 extern uint32 TIFFNumberOfTiles(TIFF * ) ;   1885 extern uint32 TIFFNumberOfTiles(TIFF * ) ;
1886 extern tmsize_t TIFFReadTile(TIFF *tif , void *buf , uint32 x , uint32 y ,   1886 extern tmsize_t TIFFReadTile(TIFF *tif , void *buf , uint32 x , uint32 y ,
1887                              uint32 z , uint16 s ) ;   1887                              uint32 z , uint16 s ) ;
1888 extern tmsize_t TIFFWriteTile(TIFF *tif , void *buf , uint32 x , uint32 y ,   1888 extern tmsize_t TIFFWriteTile(TIFF *tif , void *buf , uint32 x , uint32 y ,
1889                               uint32 z , uint16 s ) ;   1889                               uint32 z , uint16 s ) ;
1890 extern uint32 TIFFComputeStrip(TIFF * , uint32  , uint16  ) ;   1890 extern uint32 TIFFComputeStrip(TIFF * , uint32  , uint16  ) ;
1891 extern uint32 TIFFNumberOfStrips(TIFF * ) ;   1891 extern uint32 TIFFNumberOfStrips(TIFF * ) ;
1892 extern tmsize_t TIFFReadEncodedStrip(TIFF *tif , uint32 strip , void *buf ,   1892 extern tmsize_t TIFFReadEncodedStrip(TIFF *tif , uint32 strip , void *buf ,
1893                                      tmsize_t size ) ;   1893                                      tmsize_t size ) ;
1894 extern tmsize_t TIFFReadRawStrip(TIFF *tif , uint32 strip , void *buf ,   1894 extern tmsize_t TIFFReadRawStrip(TIFF *tif , uint32 strip , void *buf ,
1895                                  tmsize_t size ) ;   1895                                  tmsize_t size ) ;
1896 extern tmsize_t TIFFReadEncodedTile(TIFF *tif , uint32 tile , void *buf ,   1896 extern tmsize_t TIFFReadEncodedTile(TIFF *tif , uint32 tile , void *buf ,
1897                                     tmsize_t size ) ;   1897                                     tmsize_t size ) ;
1898 extern tmsize_t TIFFReadRawTile(TIFF *tif , uint32 tile , void *buf ,   1898 extern tmsize_t TIFFReadRawTile(TIFF *tif , uint32 tile , void *buf ,
1899                                 tmsize_t size ) ;   1899                                 tmsize_t size ) ;
1900 extern tmsize_t TIFFWriteEncodedStrip(TIFF *tif , uint32 strip , void *data ,   1900 extern tmsize_t TIFFWriteEncodedStrip(TIFF *tif , uint32 strip , void *data ,
1901                                       tmsize_t cc ) ;   1901                                       tmsize_t cc ) ;
1902 extern tmsize_t TIFFWriteRawStrip(TIFF *tif , uint32 strip , void *data ,   1902 extern tmsize_t TIFFWriteRawStrip(TIFF *tif , uint32 strip , void *data ,
1903                                   tmsize_t cc ) ;   1903                                   tmsize_t cc ) ;
1904 extern tmsize_t TIFFWriteEncodedTile(TIFF *tif , uint32 tile , void *data ,   1904 extern tmsize_t TIFFWriteEncodedTile(TIFF *tif , uint32 tile , void *data ,
1905                                      tmsize_t cc ) ;   1905                                      tmsize_t cc ) ;
1906 extern tmsize_t TIFFWriteRawTile(TIFF *tif , uint32 tile , void *data ,   1906 extern tmsize_t TIFFWriteRawTile(TIFF *tif , uint32 tile , void *data ,
1907                                  tmsize_t cc ) ;   1907                                  tmsize_t cc ) ;
1908 int TIFFDataWidth(TIFFDataType type ) ;   1908 int TIFFDataWidth(TIFFDataType type ) ;
1909 extern void TIFFSetWriteOffset(TIFF *tif , uint64 off ) ;   1909 extern void TIFFSetWriteOffset(TIFF *tif , uint64 off ) ;
1910 extern void TIFFSwabShort(uint16 * ) ;   1910 extern void TIFFSwabShort(uint16 * ) ;
1911 extern void TIFFSwabLong(uint32 * ) ;   1911 extern void TIFFSwabLong(uint32 * ) ;
1912 extern void TIFFSwabLong8(uint64 * ) ;   1912 extern void TIFFSwabLong8(uint64 * ) ;
1913 extern void TIFFSwabFloat(float * ) ;   1913 extern void TIFFSwabFloat(float * ) ;
1914 extern void TIFFSwabDouble(double * ) ;   1914 extern void TIFFSwabDouble(double * ) ;
1915 extern void TIFFSwabArrayOfShort(uint16 *wp , tmsize_t n ) ;   1915 extern void TIFFSwabArrayOfShort(uint16 *wp , tmsize_t n ) ;
1916 extern void TIFFSwabArrayOfTriples(uint8 *tp , tmsize_t n ) ;   1916 extern void TIFFSwabArrayOfTriples(uint8 *tp , tmsize_t n ) ;
1917 extern void TIFFSwabArrayOfLong(uint32 *lp , tmsize_t n ) ;   1917 extern void TIFFSwabArrayOfLong(uint32 *lp , tmsize_t n ) ;
1918 extern void TIFFSwabArrayOfLong8(uint64 *lp , tmsize_t n ) ;   1918 extern void TIFFSwabArrayOfLong8(uint64 *lp , tmsize_t n ) ;
1919 extern void TIFFSwabArrayOfFloat(float *fp , tmsize_t n ) ;   1919 extern void TIFFSwabArrayOfFloat(float *fp , tmsize_t n ) ;
1920 extern void TIFFSwabArrayOfDouble(double *dp , tmsize_t n ) ;   1920 extern void TIFFSwabArrayOfDouble(double *dp , tmsize_t n ) ;
1921 extern void TIFFReverseBits(uint8 *cp , tmsize_t n ) ;   1921 extern void TIFFReverseBits(uint8 *cp , tmsize_t n ) ;
1922 extern unsigned char const   *TIFFGetBitRevTable(int  ) ;   1922 extern unsigned char const   *TIFFGetBitRevTable(int  ) ;
1923 extern double LogL16toY(int  ) ;   1923 extern double LogL16toY(int  ) ;
1924 extern double LogL10toY(int  ) ;   1924 extern double LogL10toY(int  ) ;
1925 extern void XYZtoRGB24(float * , uint8 * ) ;   1925 extern void XYZtoRGB24(float * , uint8 * ) ;
1926 extern int uv_decode(double * , double * , int  ) ;   1926 extern int uv_decode(double * , double * , int  ) ;
1927 extern void LogLuv24toXYZ(uint32  , float * ) ;   1927 extern void LogLuv24toXYZ(uint32  , float * ) ;
1928 extern void LogLuv32toXYZ(uint32  , float * ) ;   1928 extern void LogLuv32toXYZ(uint32  , float * ) ;
1929 extern int LogL16fromY(double  , int  ) ;   1929 extern int LogL16fromY(double  , int  ) ;
1930 extern int LogL10fromY(double  , int  ) ;   1930 extern int LogL10fromY(double  , int  ) ;
1931 extern int uv_encode(double  , double  , int  ) ;   1931 extern int uv_encode(double  , double  , int  ) ;
1932 extern uint32 LogLuv24fromXYZ(float * , int  ) ;   1932 extern uint32 LogLuv24fromXYZ(float * , int  ) ;
1933 extern uint32 LogLuv32fromXYZ(float * , int  ) ;   1933 extern uint32 LogLuv32fromXYZ(float * , int  ) ;
1934 extern int TIFFCIELabToRGBInit(TIFFCIELabToRGB * , TIFFDisplay * , float * ) ;   1934 extern int TIFFCIELabToRGBInit(TIFFCIELabToRGB * , TIFFDisplay * , float * ) ;
1935 extern void TIFFCIELabToXYZ(TIFFCIELabToRGB * , uint32  , int32  , int32  ,   1935 extern void TIFFCIELabToXYZ(TIFFCIELabToRGB * , uint32  , int32  , int32  ,
1936                             float * , float * , float * ) ;   1936                             float * , float * , float * ) ;
1937 extern void TIFFXYZToRGB(TIFFCIELabToRGB * , float  , float  , float  ,   1937 extern void TIFFXYZToRGB(TIFFCIELabToRGB * , float  , float  , float  ,
1938                          uint32 * , uint32 * , uint32 * ) ;   1938                          uint32 * , uint32 * , uint32 * ) ;
1939 extern int TIFFYCbCrToRGBInit(TIFFYCbCrToRGB * , float * , float * ) ;   1939 extern int TIFFYCbCrToRGBInit(TIFFYCbCrToRGB * , float * , float * ) ;
1940 extern void TIFFYCbCrtoRGB(TIFFYCbCrToRGB * , uint32  , int32  , int32  ,   1940 extern void TIFFYCbCrtoRGB(TIFFYCbCrToRGB * , uint32  , int32  , int32  ,
1941                            uint32 * , uint32 * , uint32 * ) ;   1941                            uint32 * , uint32 * , uint32 * ) ;
1942 int TIFFMergeFieldInfo(TIFF *tif , TIFFFieldInfo const   *info , uint32 n ) ;   1942 int TIFFMergeFieldInfo(TIFF *tif , TIFFFieldInfo const   *info , uint32 n ) ;
1943 TIFFFieldInfo const   *TIFFFindFieldInfo(TIFF *tif , uint32 tag ,   1943 TIFFFieldInfo const   *TIFFFindFieldInfo(TIFF *tif , uint32 tag ,
1944                                          TIFFDataType dt ) ;   1944                                          TIFFDataType dt ) ;
1945 TIFFFieldInfo const   *TIFFFindFieldInfoByName(TIFF *tif ,   1945 TIFFFieldInfo const   *TIFFFindFieldInfoByName(TIFF *tif ,
1946                                                char const   *field_name ,   1946                                                char const   *field_name ,
1947                                                TIFFDataType dt ) ;   1947                                                TIFFDataType dt ) ;
1948 TIFFFieldArray const   *_TIFFGetFields(void) ;   1948 TIFFFieldArray const   *_TIFFGetFields(void) ;
1949 TIFFFieldArray const   *_TIFFGetExifFields(void) ;   1949 TIFFFieldArray const   *_TIFFGetExifFields(void) ;
1950 void _TIFFSetupFields(TIFF *tif , TIFFFieldArray const   *fieldarray ) ;   1950 void _TIFFSetupFields(TIFF *tif , TIFFFieldArray const   *fieldarray ) ;
1951 void _TIFFPrintFieldInfo(TIFF *tif , FILE *fd ) ;   1951 void _TIFFPrintFieldInfo(TIFF *tif , FILE *fd ) ;
1952 int _TIFFMergeFields(TIFF *tif , TIFFField const   *info , uint32 n ) ;   1952 int _TIFFMergeFields(TIFF *tif , TIFFField const   *info , uint32 n ) ;
1953 TIFFField const   *_TIFFFindOrRegisterField(TIFF *tif , uint32 tag ,   1953 TIFFField const   *_TIFFFindOrRegisterField(TIFF *tif , uint32 tag ,
1954                                             TIFFDataType dt ) ;   1954                                             TIFFDataType dt ) ;
1955 TIFFField *_TIFFCreateAnonField(TIFF *tif , uint32 tag ,   1955 TIFFField *_TIFFCreateAnonField(TIFF *tif , uint32 tag ,
1956                                 TIFFDataType field_type ) ;   1956                                 TIFFDataType field_type ) ;
1957 extern int _TIFFgetMode(char const   *mode , char const   *module ) ;   1957 extern int _TIFFgetMode(char const   *mode , char const   *module ) ;
1958 extern int _TIFFNoRowEncode(TIFF *tif , uint8 *pp , tmsize_t cc , uint16 s ) ;   1958 extern int _TIFFNoRowEncode(TIFF *tif , uint8 *pp , tmsize_t cc , uint16 s ) ;
1959 extern int _TIFFNoStripEncode(TIFF *tif , uint8 *pp , tmsize_t cc , uint16 s ) ;   1959 extern int _TIFFNoStripEncode(TIFF *tif , uint8 *pp , tmsize_t cc , uint16 s ) ;
1960 extern int _TIFFNoTileEncode(TIFF * , uint8 *pp , tmsize_t cc , uint16 s ) ;   1960 extern int _TIFFNoTileEncode(TIFF * , uint8 *pp , tmsize_t cc , uint16 s ) ;
1961 extern int _TIFFNoRowDecode(TIFF *tif , uint8 *pp , tmsize_t cc , uint16 s ) ;   1961 extern int _TIFFNoRowDecode(TIFF *tif , uint8 *pp , tmsize_t cc , uint16 s ) ;
1962 extern int _TIFFNoStripDecode(TIFF *tif , uint8 *pp , tmsize_t cc , uint16 s ) ;   1962 extern int _TIFFNoStripDecode(TIFF *tif , uint8 *pp , tmsize_t cc , uint16 s ) ;
1963 extern int _TIFFNoTileDecode(TIFF * , uint8 *pp , tmsize_t cc , uint16 s ) ;   1963 extern int _TIFFNoTileDecode(TIFF * , uint8 *pp , tmsize_t cc , uint16 s ) ;
1964 extern void _TIFFNoPostDecode(TIFF *tif , uint8 *buf , tmsize_t cc ) ;   1964 extern void _TIFFNoPostDecode(TIFF *tif , uint8 *buf , tmsize_t cc ) ;
1965 extern int _TIFFNoPreCode(TIFF *tif , uint16 s ) ;   1965 extern int _TIFFNoPreCode(TIFF *tif , uint16 s ) ;
1966 extern int _TIFFNoSeek(TIFF *tif , uint32 off ) ;   1966 extern int _TIFFNoSeek(TIFF *tif , uint32 off ) ;
1967 extern void _TIFFSwab16BitData(TIFF *tif , uint8 *buf , tmsize_t cc ) ;   1967 extern void _TIFFSwab16BitData(TIFF *tif , uint8 *buf , tmsize_t cc ) ;
1968 extern void _TIFFSwab24BitData(TIFF *tif , uint8 *buf , tmsize_t cc ) ;   1968 extern void _TIFFSwab24BitData(TIFF *tif , uint8 *buf , tmsize_t cc ) ;
1969 extern void _TIFFSwab32BitData(TIFF *tif , uint8 *buf , tmsize_t cc ) ;   1969 extern void _TIFFSwab32BitData(TIFF *tif , uint8 *buf , tmsize_t cc ) ;
1970 extern void _TIFFSwab64BitData(TIFF *tif , uint8 *buf , tmsize_t cc ) ;   1970 extern void _TIFFSwab64BitData(TIFF *tif , uint8 *buf , tmsize_t cc ) ;
1971 extern int TIFFFlushData1(TIFF *tif ) ;   1971 extern int TIFFFlushData1(TIFF *tif ) ;
1972 extern int TIFFDefaultDirectory(TIFF *tif ) ;   1972 extern int TIFFDefaultDirectory(TIFF *tif ) ;
1973 extern void _TIFFSetDefaultCompressionState(TIFF *tif ) ;   1973 extern void _TIFFSetDefaultCompressionState(TIFF *tif ) ;
1974 extern int TIFFSetCompressionScheme(TIFF *tif , int scheme ) ;   1974 extern int TIFFSetCompressionScheme(TIFF *tif , int scheme ) ;
1975 extern int TIFFSetDefaultCompressionState(TIFF *tif ) ;   1975 extern int TIFFSetDefaultCompressionState(TIFF *tif ) ;
1976 extern uint32 _TIFFDefaultStripSize(TIFF *tif , uint32 s ) ;   1976 extern uint32 _TIFFDefaultStripSize(TIFF *tif , uint32 s ) ;
1977 extern void _TIFFDefaultTileSize(TIFF *tif , uint32 *tw , uint32 *th ) ;   1977 extern void _TIFFDefaultTileSize(TIFF *tif , uint32 *tw , uint32 *th ) ;
1978 int _TIFFDataSize(TIFFDataType type ) ;   1978 int _TIFFDataSize(TIFFDataType type ) ;
1979 extern void _TIFFsetByteArray(void ** , void * , uint32  ) ;   1979 extern void _TIFFsetByteArray(void ** , void * , uint32  ) ;
1980 extern void _TIFFsetString(char ** , char * ) ;   1980 extern void _TIFFsetString(char ** , char * ) ;
1981 extern void _TIFFsetShortArray(uint16 ** , uint16 * , uint32  ) ;   1981 extern void _TIFFsetShortArray(uint16 ** , uint16 * , uint32  ) ;
1982 extern void _TIFFsetLongArray(uint32 ** , uint32 * , uint32  ) ;   1982 extern void _TIFFsetLongArray(uint32 ** , uint32 * , uint32  ) ;
1983 extern void _TIFFsetFloatArray(float ** , float * , uint32  ) ;   1983 extern void _TIFFsetFloatArray(float ** , float * , uint32  ) ;
1984 extern void _TIFFsetDoubleArray(double ** , double * , uint32  ) ;   1984 extern void _TIFFsetDoubleArray(double ** , double * , uint32  ) ;
1985 extern void _TIFFprintAscii(FILE * , char const   * ) ;   1985 extern void _TIFFprintAscii(FILE * , char const   * ) ;
1986 extern void _TIFFprintAsciiTag(FILE * , char const   * , char const   * ) ;   1986 extern void _TIFFprintAsciiTag(FILE * , char const   * , char const   * ) ;
1987 extern void (*_TIFFwarningHandler)(char const   * , char const   * , va_list  ) ;   1987 extern void (*_TIFFwarningHandler)(char const   * , char const   * , va_list  ) ;
1988 extern void (*_TIFFerrorHandler)(char const   * , char const   * , va_list  ) ;   1988 extern void (*_TIFFerrorHandler)(char const   * , char const   * , va_list  ) ;
1989 extern void (*_TIFFwarningHandlerExt)(thandle_t  , char const   * ,   1989 extern void (*_TIFFwarningHandlerExt)(thandle_t  , char const   * ,
1990                                       char const   * , va_list  ) ;   1990                                       char const   * , va_list  ) ;
1991 extern void (*_TIFFerrorHandlerExt)(thandle_t  , char const   * ,   1991 extern void (*_TIFFerrorHandlerExt)(thandle_t  , char const   * ,
1992                                     char const   * , va_list  ) ;   1992                                     char const   * , va_list  ) ;
1993 extern void *_TIFFCheckMalloc(TIFF *tif , tmsize_t nmemb , tmsize_t elem_size ,   1993 extern void *_TIFFCheckMalloc(TIFF *tif , tmsize_t nmemb , tmsize_t elem_size ,
1994                               char const   *what ) ;   1994                               char const   *what ) ;
1995 extern void *_TIFFCheckRealloc(TIFF *tif , void *buffer , tmsize_t nmemb ,   1995 extern void *_TIFFCheckRealloc(TIFF *tif , void *buffer , tmsize_t nmemb ,
1996                                tmsize_t elem_size , char const   *what ) ;   1996                                tmsize_t elem_size , char const   *what ) ;
1997 extern double _TIFFUInt64ToDouble(uint64  ) ;   1997 extern double _TIFFUInt64ToDouble(uint64  ) ;
1998 extern float _TIFFUInt64ToFloat(uint64  ) ;   1998 extern float _TIFFUInt64ToFloat(uint64  ) ;
1999 extern int TIFFInitDumpMode(TIFF * , int  ) ;   1999 extern int TIFFInitDumpMode(TIFF * , int  ) ;
2000 extern int TIFFInitPackBits(TIFF * , int  ) ;   2000 extern int TIFFInitPackBits(TIFF * , int  ) ;
2001 extern int TIFFInitCCITTRLE(TIFF * , int  ) ;   2001 extern int TIFFInitCCITTRLE(TIFF * , int  ) ;
2002 extern int TIFFInitCCITTRLEW(TIFF * , int  ) ;   2002 extern int TIFFInitCCITTRLEW(TIFF * , int  ) ;
2003 extern int TIFFInitCCITTFax3(TIFF * , int  ) ;   2003 extern int TIFFInitCCITTFax3(TIFF * , int  ) ;
2004 extern int TIFFInitCCITTFax4(TIFF * , int  ) ;   2004 extern int TIFFInitCCITTFax4(TIFF * , int  ) ;
2005 extern int TIFFInitThunderScan(TIFF * , int  ) ;   2005 extern int TIFFInitThunderScan(TIFF * , int  ) ;
2006 extern int TIFFInitNeXT(TIFF * , int  ) ;   2006 extern int TIFFInitNeXT(TIFF * , int  ) ;
2007 extern int TIFFInitLZW(TIFF * , int  ) ;   2007 extern int TIFFInitLZW(TIFF * , int  ) ;
2008 extern int TIFFInitZIP(TIFF * , int  ) ;   2008 extern int TIFFInitZIP(TIFF * , int  ) ;
2009 extern int TIFFInitPixarLog(TIFF * , int  ) ;   2009 extern int TIFFInitPixarLog(TIFF * , int  ) ;
2010 extern int TIFFInitSGILog(TIFF * , int  ) ;   2010 extern int TIFFInitSGILog(TIFF * , int  ) ;
2011 extern TIFFCodec _TIFFBuiltinCODECS[] ;   2011 extern TIFFCodec _TIFFBuiltinCODECS[] ;
2012 extern  __attribute__((__nothrow__)) size_t __ctype_get_mb_cur_max(void) ;   2012 extern  __attribute__((__nothrow__)) size_t __ctype_get_mb_cur_max(void) ;
2013 __inline extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;   2013 __inline extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;
2014 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;   2014 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;
2015 __inline extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;   2015 __inline extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;
2016 __inline extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;   2016 __inline extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;
2017 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) strtod)(char const   * __restrict  __nptr ,   2017 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) strtod)(char const   * __restrict  __nptr ,
2018                                                                                       char ** __restrict  __endptr ) ;   2018                                                                                       char ** __restrict  __endptr ) ;
2019 extern  __attribute__((__nothrow__)) float ( __attribute__((__nonnull__(1))) strtof)(char const   * __restrict  __nptr ,   2019 extern  __attribute__((__nothrow__)) float ( __attribute__((__nonnull__(1))) strtof)(char const   * __restrict  __nptr ,
2020                                                                                      char ** __restrict  __endptr ) ;   2020                                                                                      char ** __restrict  __endptr ) ;
2021 extern  __attribute__((__nothrow__)) long double ( __attribute__((__nonnull__(1))) strtold)(char const   * __restrict  __nptr ,   2021 extern  __attribute__((__nothrow__)) long double ( __attribute__((__nonnull__(1))) strtold)(char const   * __restrict  __nptr ,
2022                                                                                             char ** __restrict  __endptr ) ;   2022                                                                                             char ** __restrict  __endptr ) ;
2023 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) strtol)(char const   * __restrict  __nptr ,   2023 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) strtol)(char const   * __restrict  __nptr ,
2024                                                                                     char ** __restrict  __endptr ,   2024                                                                                     char ** __restrict  __endptr ,
2025                                                                                     int __base ) ;   2025                                                                                     int __base ) ;
2026 extern  __attribute__((__nothrow__)) unsigned long ( __attribute__((__nonnull__(1))) strtoul)(char const   * __restrict  __nptr ,   2026 extern  __attribute__((__nothrow__)) unsigned long ( __attribute__((__nonnull__(1))) strtoul)(char const   * __restrict  __nptr ,
2027                                                                                               char ** __restrict  __endptr ,   2027                                                                                               char ** __restrict  __endptr ,
2028                                                                                               int __base ) ;   2028                                                                                               int __base ) ;
2029 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoq)(char const   * __restrict  __nptr ,   2029 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoq)(char const   * __restrict  __nptr ,
2030                                                                                          char ** __restrict  __endptr ,   2030                                                                                          char ** __restrict  __endptr ,
2031                                                                                          int __base ) ;   2031                                                                                          int __base ) ;
2032 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtouq)(char const   * __restrict  __nptr ,   2032 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtouq)(char const   * __restrict  __nptr ,
2033                                                                                                    char ** __restrict  __endptr ,   2033                                                                                                    char ** __restrict  __endptr ,
2034                                                                                                    int __base ) ;   2034                                                                                                    int __base ) ;
2035 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoll)(char const   * __restrict  __nptr ,   2035 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoll)(char const   * __restrict  __nptr ,
2036                                                                                           char ** __restrict  __endptr ,   2036                                                                                           char ** __restrict  __endptr ,
2037                                                                                           int __base ) ;   2037                                                                                           int __base ) ;
2038 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtoull)(char const   * __restrict  __nptr ,   2038 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtoull)(char const   * __restrict  __nptr ,
2039                                                                                                     char ** __restrict  __endptr ,   2039                                                                                                     char ** __restrict  __endptr ,
2040                                                                                                     int __base ) ;   2040                                                                                                     int __base ) ;
2041 __inline extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;   2041 __inline extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;
2042 __inline extern double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )   2042 __inline extern double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )
2043 {   2043 {
2044   double tmp ;   2044   double tmp ;
2045     2045  
2046   {   2046   {
2047   tmp = strtod((char const   */* __restrict  */)__nptr,   2047   tmp = strtod((char const   */* __restrict  */)__nptr,
2048                (char **/* __restrict  */)((char **)((void *)0)));   2048                (char **/* __restrict  */)((char **)((void *)0)));
2049   return (tmp);   2049   return (tmp);
2050 }   2050 }
2051 }   2051 }
2052 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;   2052 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;
2053 __inline extern int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )   2053 __inline extern int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )
2054 {   2054 {
2055   long tmp ;   2055   long tmp ;
2056     2056  
2057   {   2057   {
2058   tmp = strtol((char const   */* __restrict  */)__nptr,   2058   tmp = strtol((char const   */* __restrict  */)__nptr,
2059                (char **/* __restrict  */)((char **)((void *)0)), 10);   2059                (char **/* __restrict  */)((char **)((void *)0)), 10);
2060   return ((int )tmp);   2060   return ((int )tmp);
2061 }   2061 }
2062 }   2062 }
2063 __inline extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;   2063 __inline extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;
2064 __inline extern long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )   2064 __inline extern long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )
2065 {   2065 {
2066   long tmp ;   2066   long tmp ;
2067     2067  
2068   {   2068   {
2069   tmp = strtol((char const   */* __restrict  */)__nptr,   2069   tmp = strtol((char const   */* __restrict  */)__nptr,
2070                (char **/* __restrict  */)((char **)((void *)0)), 10);   2070                (char **/* __restrict  */)((char **)((void *)0)), 10);
2071   return (tmp);   2071   return (tmp);
2072 }   2072 }
2073 }   2073 }
2074 __inline extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;   2074 __inline extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;
2075 __inline extern long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )   2075 __inline extern long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )
2076 {   2076 {
2077   long long tmp ;   2077   long long tmp ;
2078     2078  
2079   {   2079   {
2080   tmp = strtoll((char const   */* __restrict  */)__nptr,   2080   tmp = strtoll((char const   */* __restrict  */)__nptr,
2081                 (char **/* __restrict  */)((char **)((void *)0)), 10);   2081                 (char **/* __restrict  */)((char **)((void *)0)), 10);
2082   return (tmp);   2082   return (tmp);
2083 }   2083 }
2084 }   2084 }
2085 extern  __attribute__((__nothrow__)) char *l64a(long __n ) ;   2085 extern  __attribute__((__nothrow__)) char *l64a(long __n ) ;
2086 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) a64l)(char const   *__s )  __attribute__((__pure__)) ;   2086 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) a64l)(char const   *__s )  __attribute__((__pure__)) ;
2087 extern  __attribute__((__nothrow__)) long random(void) ;   2087 extern  __attribute__((__nothrow__)) long random(void) ;
2088 extern  __attribute__((__nothrow__)) void srandom(unsigned int __seed ) ;   2088 extern  __attribute__((__nothrow__)) void srandom(unsigned int __seed ) ;
2089 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) initstate)(unsigned int __seed ,   2089 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) initstate)(unsigned int __seed ,
2090                                                                                         char *__statebuf ,   2090                                                                                         char *__statebuf ,
2091                                                                                         size_t __statelen ) ;   2091                                                                                         size_t __statelen ) ;
2092 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) setstate)(char *__statebuf ) ;   2092 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) setstate)(char *__statebuf ) ;
2093 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) random_r)(struct random_data * __restrict  __buf ,   2093 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) random_r)(struct random_data * __restrict  __buf ,
2094                                                                                        int32_t * __restrict  __result ) ;   2094                                                                                        int32_t * __restrict  __result ) ;
2095 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srandom_r)(unsigned int __seed ,   2095 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srandom_r)(unsigned int __seed ,
2096                                                                                       struct random_data *__buf ) ;   2096                                                                                       struct random_data *__buf ) ;
2097 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) initstate_r)(unsigned int __seed ,   2097 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) initstate_r)(unsigned int __seed ,
2098                                                                                           char * __restrict  __statebuf ,   2098                                                                                           char * __restrict  __statebuf ,
2099                                                                                           size_t __statelen ,   2099                                                                                           size_t __statelen ,
2100                                                                                           struct random_data * __restrict  __buf ) ;   2100                                                                                           struct random_data * __restrict  __buf ) ;
2101 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) setstate_r)(char * __restrict  __statebuf ,   2101 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) setstate_r)(char * __restrict  __statebuf ,
2102                                                                                          struct random_data * __restrict  __buf ) ;   2102                                                                                          struct random_data * __restrict  __buf ) ;
2103 extern  __attribute__((__nothrow__)) int rand(void) ;   2103 extern  __attribute__((__nothrow__)) int rand(void) ;
2104 extern  __attribute__((__nothrow__)) void srand(unsigned int __seed ) ;   2104 extern  __attribute__((__nothrow__)) void srand(unsigned int __seed ) ;
2105 extern  __attribute__((__nothrow__)) int rand_r(unsigned int *__seed ) ;   2105 extern  __attribute__((__nothrow__)) int rand_r(unsigned int *__seed ) ;
2106 extern  __attribute__((__nothrow__)) double drand48(void) ;   2106 extern  __attribute__((__nothrow__)) double drand48(void) ;
2107 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) erand48)(unsigned short *__xsubi ) ;   2107 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) erand48)(unsigned short *__xsubi ) ;
2108 extern  __attribute__((__nothrow__)) long lrand48(void) ;   2108 extern  __attribute__((__nothrow__)) long lrand48(void) ;
2109 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) nrand48)(unsigned short *__xsubi ) ;   2109 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) nrand48)(unsigned short *__xsubi ) ;
2110 extern  __attribute__((__nothrow__)) long mrand48(void) ;   2110 extern  __attribute__((__nothrow__)) long mrand48(void) ;
2111 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) jrand48)(unsigned short *__xsubi ) ;   2111 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) jrand48)(unsigned short *__xsubi ) ;
2112 extern  __attribute__((__nothrow__)) void srand48(long __seedval ) ;   2112 extern  __attribute__((__nothrow__)) void srand48(long __seedval ) ;
2113 extern  __attribute__((__nothrow__)) unsigned short *( __attribute__((__nonnull__(1))) seed48)(unsigned short *__seed16v ) ;   2113 extern  __attribute__((__nothrow__)) unsigned short *( __attribute__((__nonnull__(1))) seed48)(unsigned short *__seed16v ) ;
2114 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) lcong48)(unsigned short *__param ) ;   2114 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) lcong48)(unsigned short *__param ) ;
2115 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) drand48_r)(struct drand48_data * __restrict  __buffer ,   2115 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) drand48_r)(struct drand48_data * __restrict  __buffer ,
2116                                                                                         double * __restrict  __result ) ;   2116                                                                                         double * __restrict  __result ) ;
2117 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) erand48_r)(unsigned short *__xsubi ,   2117 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) erand48_r)(unsigned short *__xsubi ,
2118                                                                                         struct drand48_data * __restrict  __buffer ,   2118                                                                                         struct drand48_data * __restrict  __buffer ,
2119                                                                                         double * __restrict  __result ) ;   2119                                                                                         double * __restrict  __result ) ;
2120 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lrand48_r)(struct drand48_data * __restrict  __buffer ,   2120 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lrand48_r)(struct drand48_data * __restrict  __buffer ,
2121                                                                                         long * __restrict  __result ) ;   2121                                                                                         long * __restrict  __result ) ;
2122 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) nrand48_r)(unsigned short *__xsubi ,   2122 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) nrand48_r)(unsigned short *__xsubi ,
2123                                                                                         struct drand48_data * __restrict  __buffer ,   2123                                                                                         struct drand48_data * __restrict  __buffer ,
2124                                                                                         long * __restrict  __result ) ;   2124                                                                                         long * __restrict  __result ) ;
2125 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) mrand48_r)(struct drand48_data * __restrict  __buffer ,   2125 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) mrand48_r)(struct drand48_data * __restrict  __buffer ,
2126                                                                                         long * __restrict  __result ) ;   2126                                                                                         long * __restrict  __result ) ;
2127 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) jrand48_r)(unsigned short *__xsubi ,   2127 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) jrand48_r)(unsigned short *__xsubi ,
2128                                                                                         struct drand48_data * __restrict  __buffer ,   2128                                                                                         struct drand48_data * __restrict  __buffer ,
2129                                                                                         long * __restrict  __result ) ;   2129                                                                                         long * __restrict  __result ) ;
2130 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srand48_r)(long __seedval ,   2130 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srand48_r)(long __seedval ,
2131                                                                                       struct drand48_data *__buffer ) ;   2131                                                                                       struct drand48_data *__buffer ) ;
2132 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) seed48_r)(unsigned short *__seed16v ,   2132 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) seed48_r)(unsigned short *__seed16v ,
2133                                                                                        struct drand48_data *__buffer ) ;   2133                                                                                        struct drand48_data *__buffer ) ;
2134 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lcong48_r)(unsigned short *__param ,   2134 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lcong48_r)(unsigned short *__param ,
2135                                                                                         struct drand48_data *__buffer ) ;   2135                                                                                         struct drand48_data *__buffer ) ;
2136 extern  __attribute__((__nothrow__)) void *( __attribute__((__warn_unused_result__)) realloc)(void *__ptr ,   2136 extern  __attribute__((__nothrow__)) void *( __attribute__((__warn_unused_result__)) realloc)(void *__ptr ,
2137                                                                                               size_t __size ) ;   2137                                                                                               size_t __size ) ;
2138 extern  __attribute__((__nothrow__)) void free(void *__ptr ) ;   2138 extern  __attribute__((__nothrow__)) void free(void *__ptr ) ;
2139 extern  __attribute__((__nothrow__)) void cfree(void *__ptr ) ;   2139 extern  __attribute__((__nothrow__)) void cfree(void *__ptr ) ;
2140 extern  __attribute__((__nothrow__)) void *alloca(size_t __size ) ;   2140 extern  __attribute__((__nothrow__)) void *alloca(size_t __size ) ;
2141 extern  __attribute__((__nothrow__)) void *valloc(size_t __size )  __attribute__((__malloc__)) ;   2141 extern  __attribute__((__nothrow__)) void *valloc(size_t __size )  __attribute__((__malloc__)) ;
2142 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) posix_memalign)(void **__memptr ,   2142 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) posix_memalign)(void **__memptr ,
2143                                                                                            size_t __alignment ,   2143                                                                                            size_t __alignment ,
2144                                                                                            size_t __size ) ;   2144                                                                                            size_t __size ) ;
2145 extern  __attribute__((__nothrow__, __noreturn__)) void abort(void) ;   2145 extern  __attribute__((__nothrow__, __noreturn__)) void abort(void) ;
2146 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atexit)(void (*__func)(void) ) ;   2146 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atexit)(void (*__func)(void) ) ;
2147 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) on_exit)(void (*__func)(int __status ,   2147 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) on_exit)(void (*__func)(int __status ,
2148                                                                                                    void *__arg ) ,   2148                                                                                                    void *__arg ) ,
2149                                                                                     void *__arg ) ;   2149                                                                                     void *__arg ) ;
2150 extern  __attribute__((__nothrow__, __noreturn__)) void exit(int __status ) ;   2150 extern  __attribute__((__nothrow__, __noreturn__)) void exit(int __status ) ;
2151 extern  __attribute__((__nothrow__, __noreturn__)) void _Exit(int __status ) ;   2151 extern  __attribute__((__nothrow__, __noreturn__)) void _Exit(int __status ) ;
2152 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getenv)(char const   *__name ) ;   2152 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getenv)(char const   *__name ) ;
2153 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) __secure_getenv)(char const   *__name ) ;   2153 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) __secure_getenv)(char const   *__name ) ;
2154 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) putenv)(char *__string ) ;   2154 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) putenv)(char *__string ) ;
2155 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) setenv)(char const   *__name ,   2155 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) setenv)(char const   *__name ,
2156                                                                                    char const   *__value ,   2156                                                                                    char const   *__value ,
2157                                                                                    int __replace ) ;   2157                                                                                    int __replace ) ;
2158 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unsetenv)(char const   *__name ) ;   2158 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unsetenv)(char const   *__name ) ;
2159 extern  __attribute__((__nothrow__)) int clearenv(void) ;   2159 extern  __attribute__((__nothrow__)) int clearenv(void) ;
2160 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mktemp)(char *__template ) ;   2160 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mktemp)(char *__template ) ;
2161 extern int ( __attribute__((__nonnull__(1))) mkstemp)(char *__template )  __asm__("mkstemp64")  ;   2161 extern int ( __attribute__((__nonnull__(1))) mkstemp)(char *__template )  __asm__("mkstemp64")  ;
2162 extern int ( __attribute__((__nonnull__(1))) mkstemps)(char *__template ,   2162 extern int ( __attribute__((__nonnull__(1))) mkstemps)(char *__template ,
2163                                                        int __suffixlen )  __asm__("mkstemps64")  ;   2163                                                        int __suffixlen )  __asm__("mkstemps64")  ;
2164 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mkdtemp)(char *__template ) ;   2164 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mkdtemp)(char *__template ) ;
2165 extern int system(char const   *__command ) ;   2165 extern int system(char const   *__command ) ;
2166 extern  __attribute__((__nothrow__)) char *realpath(char const   * __restrict  __name ,   2166 extern  __attribute__((__nothrow__)) char *realpath(char const   * __restrict  __name ,
2167                                                     char * __restrict  __resolved ) ;   2167                                                     char * __restrict  __resolved ) ;
2168 extern void *( __attribute__((__nonnull__(1,2,5))) bsearch)(void const   *__key ,   2168 extern void *( __attribute__((__nonnull__(1,2,5))) bsearch)(void const   *__key ,
2169                                                             void const   *__base ,   2169                                                             void const   *__base ,
2170                                                             size_t __nmemb ,   2170                                                             size_t __nmemb ,
2171                                                             size_t __size ,   2171                                                             size_t __size ,
2172                                                             int (*__compar)(void const   * ,   2172                                                             int (*__compar)(void const   * ,
2173                                                                             void const   * ) ) ;   2173                                                                             void const   * ) ) ;
2174 extern void ( __attribute__((__nonnull__(1,4))) qsort)(void *__base ,   2174 extern void ( __attribute__((__nonnull__(1,4))) qsort)(void *__base ,
2175                                                        size_t __nmemb ,   2175                                                        size_t __nmemb ,
2176                                                        size_t __size ,   2176                                                        size_t __size ,
2177                                                        int (*__compar)(void const   * ,   2177                                                        int (*__compar)(void const   * ,
2178                                                                        void const   * ) ) ;   2178                                                                        void const   * ) ) ;
2179 extern  __attribute__((__nothrow__)) int abs(int __x )  __attribute__((__const__)) ;   2179 extern  __attribute__((__nothrow__)) int abs(int __x )  __attribute__((__const__)) ;
2180 extern  __attribute__((__nothrow__)) long labs(long __x )  __attribute__((__const__)) ;   2180 extern  __attribute__((__nothrow__)) long labs(long __x )  __attribute__((__const__)) ;
2181 extern  __attribute__((__nothrow__)) long long llabs(long long __x )  __attribute__((__const__)) ;   2181 extern  __attribute__((__nothrow__)) long long llabs(long long __x )  __attribute__((__const__)) ;
2182 extern  __attribute__((__nothrow__)) div_t div(int __numer , int __denom )  __attribute__((__const__)) ;   2182 extern  __attribute__((__nothrow__)) div_t div(int __numer , int __denom )  __attribute__((__const__)) ;
2183 extern  __attribute__((__nothrow__)) ldiv_t ldiv(long __numer , long __denom )  __attribute__((__const__)) ;   2183 extern  __attribute__((__nothrow__)) ldiv_t ldiv(long __numer , long __denom )  __attribute__((__const__)) ;
2184 extern  __attribute__((__nothrow__)) lldiv_t lldiv(long long __numer ,   2184 extern  __attribute__((__nothrow__)) lldiv_t lldiv(long long __numer ,
2185                                                    long long __denom )  __attribute__((__const__)) ;   2185                                                    long long __denom )  __attribute__((__const__)) ;
2186 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) ecvt)(double __value ,   2186 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) ecvt)(double __value ,
2187                                                                                      int __ndigit ,   2187                                                                                      int __ndigit ,
2188                                                                                      int * __restrict  __decpt ,   2188                                                                                      int * __restrict  __decpt ,
2189                                                                                      int * __restrict  __sign ) ;   2189                                                                                      int * __restrict  __sign ) ;
2190 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) fcvt)(double __value ,   2190 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) fcvt)(double __value ,
2191                                                                                      int __ndigit ,   2191                                                                                      int __ndigit ,
2192                                                                                      int * __restrict  __decpt ,   2192                                                                                      int * __restrict  __decpt ,
2193                                                                                      int * __restrict  __sign ) ;   2193                                                                                      int * __restrict  __sign ) ;
2194 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) gcvt)(double __value ,   2194 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) gcvt)(double __value ,
2195                                                                                    int __ndigit ,   2195                                                                                    int __ndigit ,
2196                                                                                    char *__buf ) ;   2196                                                                                    char *__buf ) ;
2197 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qecvt)(long double __value ,   2197 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qecvt)(long double __value ,
2198                                                                                       int __ndigit ,   2198                                                                                       int __ndigit ,
2199                                                                                       int * __restrict  __decpt ,   2199                                                                                       int * __restrict  __decpt ,
2200                                                                                       int * __restrict  __sign ) ;   2200                                                                                       int * __restrict  __sign ) ;
2201 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qfcvt)(long double __value ,   2201 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qfcvt)(long double __value ,
2202                                                                                       int __ndigit ,   2202                                                                                       int __ndigit ,
2203                                                                                       int * __restrict  __decpt ,   2203                                                                                       int * __restrict  __decpt ,
2204                                                                                       int * __restrict  __sign ) ;   2204                                                                                       int * __restrict  __sign ) ;
2205 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) qgcvt)(long double __value ,   2205 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) qgcvt)(long double __value ,
2206                                                                                     int __ndigit ,   2206                                                                                     int __ndigit ,
2207                                                                                     char *__buf ) ;   2207                                                                                     char *__buf ) ;
2208 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) ecvt_r)(double __value ,   2208 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) ecvt_r)(double __value ,
2209                                                                                        int __ndigit ,   2209                                                                                        int __ndigit ,
2210                                                                                        int * __restrict  __decpt ,   2210                                                                                        int * __restrict  __decpt ,
2211                                                                                        int * __restrict  __sign ,   2211                                                                                        int * __restrict  __sign ,
2212                                                                                        char * __restrict  __buf ,   2212                                                                                        char * __restrict  __buf ,
2213                                                                                        size_t __len ) ;   2213                                                                                        size_t __len ) ;
2214 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) fcvt_r)(double __value ,   2214 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) fcvt_r)(double __value ,
2215                                                                                        int __ndigit ,   2215                                                                                        int __ndigit ,
2216                                                                                        int * __restrict  __decpt ,   2216                                                                                        int * __restrict  __decpt ,
2217                                                                                        int * __restrict  __sign ,   2217                                                                                        int * __restrict  __sign ,
2218                                                                                        char * __restrict  __buf ,   2218                                                                                        char * __restrict  __buf ,
2219                                                                                        size_t __len ) ;   2219                                                                                        size_t __len ) ;
2220 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qecvt_r)(long double __value ,   2220 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qecvt_r)(long double __value ,
2221                                                                                         int __ndigit ,   2221                                                                                         int __ndigit ,
2222                                                                                         int * __restrict  __decpt ,   2222                                                                                         int * __restrict  __decpt ,
2223                                                                                         int * __restrict  __sign ,   2223                                                                                         int * __restrict  __sign ,
2224                                                                                         char * __restrict  __buf ,   2224                                                                                         char * __restrict  __buf ,
2225                                                                                         size_t __len ) ;   2225                                                                                         size_t __len ) ;
2226 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qfcvt_r)(long double __value ,   2226 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qfcvt_r)(long double __value ,
2227                                                                                         int __ndigit ,   2227                                                                                         int __ndigit ,
2228                                                                                         int * __restrict  __decpt ,   2228                                                                                         int * __restrict  __decpt ,
2229                                                                                         int * __restrict  __sign ,   2229                                                                                         int * __restrict  __sign ,
2230                                                                                         char * __restrict  __buf ,   2230                                                                                         char * __restrict  __buf ,
2231                                                                                         size_t __len ) ;   2231                                                                                         size_t __len ) ;
2232 extern  __attribute__((__nothrow__)) int mblen(char const   *__s , size_t __n ) ;   2232 extern  __attribute__((__nothrow__)) int mblen(char const   *__s , size_t __n ) ;
2233 extern  __attribute__((__nothrow__)) int mbtowc(wchar_t * __restrict  __pwc ,   2233 extern  __attribute__((__nothrow__)) int mbtowc(wchar_t * __restrict  __pwc ,
2234                                                 char const   * __restrict  __s ,   2234                                                 char const   * __restrict  __s ,
2235                                                 size_t __n ) ;   2235                                                 size_t __n ) ;
2236 extern  __attribute__((__nothrow__)) int wctomb(char *__s , wchar_t __wchar ) ;   2236 extern  __attribute__((__nothrow__)) int wctomb(char *__s , wchar_t __wchar ) ;
2237 extern  __attribute__((__nothrow__)) size_t mbstowcs(wchar_t * __restrict  __pwcs ,   2237 extern  __attribute__((__nothrow__)) size_t mbstowcs(wchar_t * __restrict  __pwcs ,
2238                                                      char const   * __restrict  __s ,   2238                                                      char const   * __restrict  __s ,
2239                                                      size_t __n ) ;   2239                                                      size_t __n ) ;
2240 extern  __attribute__((__nothrow__)) size_t wcstombs(char * __restrict  __s ,   2240 extern  __attribute__((__nothrow__)) size_t wcstombs(char * __restrict  __s ,
2241                                                      wchar_t const   * __restrict  __pwcs ,   2241                                                      wchar_t const   * __restrict  __pwcs ,
2242                                                      size_t __n ) ;   2242                                                      size_t __n ) ;
2243 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rpmatch)(char const   *__response ) ;   2243 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rpmatch)(char const   *__response ) ;
2244 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) getsubopt)(char ** __restrict  __optionp ,   2244 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) getsubopt)(char ** __restrict  __optionp ,
2245                                                                                           char * const  * __restrict  __tokens ,   2245                                                                                           char * const  * __restrict  __tokens ,
2246                                                                                           char ** __restrict  __valuep ) ;   2246                                                                                           char ** __restrict  __valuep ) ;
2247 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getloadavg)(double *__loadavg ,   2247 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getloadavg)(double *__loadavg ,
2248                                                                                        int __nelem ) ;   2248                                                                                        int __nelem ) ;
2249 static struct _TIFFFieldArray  const  tiffFieldArray ;   2249 static struct _TIFFFieldArray  const  tiffFieldArray ;
2250 static struct _TIFFFieldArray  const  exifFieldArray ;   2250 static struct _TIFFFieldArray  const  exifFieldArray ;
2251 static TIFFField const   tiffFields[138]  =   2251 static TIFFField const   tiffFields[138]  =
2252   {      {(uint32 )254, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2252   {      {(uint32 )254, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2253       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)5,   2253       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)5,
2254       (unsigned char)1, (unsigned char)0, (char *)"SubfileType",   2254       (unsigned char)1, (unsigned char)0, (char *)"SubfileType",
2255       (TIFFFieldArray *)((void *)0)},   2255       (TIFFFieldArray *)((void *)0)},
2256         {(uint32 )255, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2256         {(uint32 )255, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2257       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)5,   2257       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)5,
2258       (unsigned char)1, (unsigned char)0, (char *)"OldSubfileType",   2258       (unsigned char)1, (unsigned char)0, (char *)"OldSubfileType",
2259       (TIFFFieldArray *)((void *)0)},   2259       (TIFFFieldArray *)((void *)0)},
2260         {(uint32 )256, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2260         {(uint32 )256, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2261       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)1,   2261       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)1,
2262       (unsigned char)0, (unsigned char)0, (char *)"ImageWidth",   2262       (unsigned char)0, (unsigned char)0, (char *)"ImageWidth",
2263       (TIFFFieldArray *)((void *)0)},   2263       (TIFFFieldArray *)((void *)0)},
2264         {(uint32 )257, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2264         {(uint32 )257, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2265       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)1,   2265       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)1,
2266       (unsigned char)1, (unsigned char)0, (char *)"ImageLength",   2266       (unsigned char)1, (unsigned char)0, (char *)"ImageLength",
2267       (TIFFFieldArray *)((void *)0)},   2267       (TIFFFieldArray *)((void *)0)},
2268         {(uint32 )258, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,   2268         {(uint32 )258, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,
2269       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)6,   2269       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)6,
2270       (unsigned char)0, (unsigned char)0, (char *)"BitsPerSample",   2270       (unsigned char)0, (unsigned char)0, (char *)"BitsPerSample",
2271       (TIFFFieldArray *)((void *)0)},   2271       (TIFFFieldArray *)((void *)0)},
2272         {(uint32 )259, (short)-1, (short)1, (TIFFDataType )3, (uint32 )0,   2272         {(uint32 )259, (short)-1, (short)1, (TIFFDataType )3, (uint32 )0,
2273       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)7,   2273       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)7,
2274       (unsigned char)0, (unsigned char)0, (char *)"Compression",   2274       (unsigned char)0, (unsigned char)0, (char *)"Compression",
2275       (TIFFFieldArray *)((void *)0)},   2275       (TIFFFieldArray *)((void *)0)},
2276         {(uint32 )262, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2276         {(uint32 )262, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2277       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)8,   2277       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)8,
2278       (unsigned char)0, (unsigned char)0, (char *)"PhotometricInterpretation",   2278       (unsigned char)0, (unsigned char)0, (char *)"PhotometricInterpretation",
2279       (TIFFFieldArray *)((void *)0)},   2279       (TIFFFieldArray *)((void *)0)},
2280         {(uint32 )263, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2280         {(uint32 )263, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2281       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)9,   2281       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)9,
2282       (unsigned char)1, (unsigned char)0, (char *)"Threshholding",   2282       (unsigned char)1, (unsigned char)0, (char *)"Threshholding",
2283       (TIFFFieldArray *)((void *)0)},   2283       (TIFFFieldArray *)((void *)0)},
2284         {(uint32 )264, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2284         {(uint32 )264, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2285       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,   2285       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,
2286       (unsigned char)1, (unsigned char)0, (char *)"CellWidth",   2286       (unsigned char)1, (unsigned char)0, (char *)"CellWidth",
2287       (TIFFFieldArray *)((void *)0)},   2287       (TIFFFieldArray *)((void *)0)},
2288         {(uint32 )265, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2288         {(uint32 )265, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2289       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,   2289       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,
2290       (unsigned char)1, (unsigned char)0, (char *)"CellLength",   2290       (unsigned char)1, (unsigned char)0, (char *)"CellLength",
2291       (TIFFFieldArray *)((void *)0)},   2291       (TIFFFieldArray *)((void *)0)},
2292         {(uint32 )266, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2292         {(uint32 )266, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2293       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)10,   2293       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)10,
2294       (unsigned char)0, (unsigned char)0, (char *)"FillOrder",   2294       (unsigned char)0, (unsigned char)0, (char *)"FillOrder",
2295       (TIFFFieldArray *)((void *)0)},   2295       (TIFFFieldArray *)((void *)0)},
2296         {(uint32 )269, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2296         {(uint32 )269, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2297       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2297       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2298       (unsigned char)1, (unsigned char)0, (char *)"DocumentName",   2298       (unsigned char)1, (unsigned char)0, (char *)"DocumentName",
2299       (TIFFFieldArray *)((void *)0)},   2299       (TIFFFieldArray *)((void *)0)},
2300         {(uint32 )270, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2300         {(uint32 )270, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2301       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2301       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2302       (unsigned char)1, (unsigned char)0, (char *)"ImageDescription",   2302       (unsigned char)1, (unsigned char)0, (char *)"ImageDescription",
2303       (TIFFFieldArray *)((void *)0)},   2303       (TIFFFieldArray *)((void *)0)},
2304         {(uint32 )271, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2304         {(uint32 )271, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2305       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2305       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2306       (unsigned char)1, (unsigned char)0, (char *)"Make",   2306       (unsigned char)1, (unsigned char)0, (char *)"Make",
2307       (TIFFFieldArray *)((void *)0)},   2307       (TIFFFieldArray *)((void *)0)},
2308         {(uint32 )272, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2308         {(uint32 )272, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2309       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2309       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2310       (unsigned char)1, (unsigned char)0, (char *)"Model",   2310       (unsigned char)1, (unsigned char)0, (char *)"Model",
2311       (TIFFFieldArray *)((void *)0)},   2311       (TIFFFieldArray *)((void *)0)},
2312         {(uint32 )273, (short)-1, (short)-1, (TIFFDataType )16, (uint32 )0,   2312         {(uint32 )273, (short)-1, (short)-1, (TIFFDataType )16, (uint32 )0,
2313       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)25,   2313       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)25,
2314       (unsigned char)0, (unsigned char)0, (char *)"StripOffsets",   2314       (unsigned char)0, (unsigned char)0, (char *)"StripOffsets",
2315       (TIFFFieldArray *)((void *)0)},   2315       (TIFFFieldArray *)((void *)0)},
2316         {(uint32 )274, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2316         {(uint32 )274, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2317       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)15,   2317       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)15,
2318       (unsigned char)0, (unsigned char)0, (char *)"Orientation",   2318       (unsigned char)0, (unsigned char)0, (char *)"Orientation",
2319       (TIFFFieldArray *)((void *)0)},   2319       (TIFFFieldArray *)((void *)0)},
2320         {(uint32 )277, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2320         {(uint32 )277, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2321       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)16,   2321       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)16,
2322       (unsigned char)0, (unsigned char)0, (char *)"SamplesPerPixel",   2322       (unsigned char)0, (unsigned char)0, (char *)"SamplesPerPixel",
2323       (TIFFFieldArray *)((void *)0)},   2323       (TIFFFieldArray *)((void *)0)},
2324         {(uint32 )278, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2324         {(uint32 )278, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2325       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)17,   2325       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)17,
2326       (unsigned char)0, (unsigned char)0, (char *)"RowsPerStrip",   2326       (unsigned char)0, (unsigned char)0, (char *)"RowsPerStrip",
2327       (TIFFFieldArray *)((void *)0)},   2327       (TIFFFieldArray *)((void *)0)},
2328         {(uint32 )279, (short)-1, (short)-1, (TIFFDataType )16, (uint32 )0,   2328         {(uint32 )279, (short)-1, (short)-1, (TIFFDataType )16, (uint32 )0,
2329       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)24,   2329       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)24,
2330       (unsigned char)0, (unsigned char)0, (char *)"StripByteCounts",   2330       (unsigned char)0, (unsigned char)0, (char *)"StripByteCounts",
2331       (TIFFFieldArray *)((void *)0)},   2331       (TIFFFieldArray *)((void *)0)},
2332         {(uint32 )280, (short)-2, (short)-1, (TIFFDataType )3, (uint32 )0,   2332         {(uint32 )280, (short)-2, (short)-1, (TIFFDataType )3, (uint32 )0,
2333       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)18,   2333       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)18,
2334       (unsigned char)1, (unsigned char)0, (char *)"MinSampleValue",   2334       (unsigned char)1, (unsigned char)0, (char *)"MinSampleValue",
2335       (TIFFFieldArray *)((void *)0)},   2335       (TIFFFieldArray *)((void *)0)},
2336         {(uint32 )281, (short)-2, (short)-1, (TIFFDataType )3, (uint32 )0,   2336         {(uint32 )281, (short)-2, (short)-1, (TIFFDataType )3, (uint32 )0,
2337       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)19,   2337       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)19,
2338       (unsigned char)1, (unsigned char)0, (char *)"MaxSampleValue",   2338       (unsigned char)1, (unsigned char)0, (char *)"MaxSampleValue",
2339       (TIFFFieldArray *)((void *)0)},   2339       (TIFFFieldArray *)((void *)0)},
2340         {(uint32 )282, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2340         {(uint32 )282, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2341       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)3,   2341       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)3,
2342       (unsigned char)1, (unsigned char)0, (char *)"XResolution",   2342       (unsigned char)1, (unsigned char)0, (char *)"XResolution",
2343       (TIFFFieldArray *)((void *)0)},   2343       (TIFFFieldArray *)((void *)0)},
2344         {(uint32 )283, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2344         {(uint32 )283, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2345       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)3,   2345       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)3,
2346       (unsigned char)1, (unsigned char)0, (char *)"YResolution",   2346       (unsigned char)1, (unsigned char)0, (char *)"YResolution",
2347       (TIFFFieldArray *)((void *)0)},   2347       (TIFFFieldArray *)((void *)0)},
2348         {(uint32 )284, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2348         {(uint32 )284, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2349       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)20,   2349       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)20,
2350       (unsigned char)0, (unsigned char)0, (char *)"PlanarConfiguration",   2350       (unsigned char)0, (unsigned char)0, (char *)"PlanarConfiguration",
2351       (TIFFFieldArray *)((void *)0)},   2351       (TIFFFieldArray *)((void *)0)},
2352         {(uint32 )285, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2352         {(uint32 )285, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2353       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2353       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2354       (unsigned char)1, (unsigned char)0, (char *)"PageName",   2354       (unsigned char)1, (unsigned char)0, (char *)"PageName",
2355       (TIFFFieldArray *)((void *)0)},   2355       (TIFFFieldArray *)((void *)0)},
2356         {(uint32 )286, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2356         {(uint32 )286, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2357       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)4,   2357       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)4,
2358       (unsigned char)1, (unsigned char)0, (char *)"XPosition",   2358       (unsigned char)1, (unsigned char)0, (char *)"XPosition",
2359       (TIFFFieldArray *)((void *)0)},   2359       (TIFFFieldArray *)((void *)0)},
2360         {(uint32 )287, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2360         {(uint32 )287, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2361       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)4,   2361       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)4,
2362       (unsigned char)1, (unsigned char)0, (char *)"YPosition",   2362       (unsigned char)1, (unsigned char)0, (char *)"YPosition",
2363       (TIFFFieldArray *)((void *)0)},   2363       (TIFFFieldArray *)((void *)0)},
2364         {(uint32 )288, (short)-1, (short)-1, (TIFFDataType )16, (uint32 )0,   2364         {(uint32 )288, (short)-1, (short)-1, (TIFFDataType )16, (uint32 )0,
2365       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,   2365       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,
2366       (unsigned char)0, (unsigned char)0, (char *)"FreeOffsets",   2366       (unsigned char)0, (unsigned char)0, (char *)"FreeOffsets",
2367       (TIFFFieldArray *)((void *)0)},   2367       (TIFFFieldArray *)((void *)0)},
2368         {(uint32 )289, (short)-1, (short)-1, (TIFFDataType )16, (uint32 )0,   2368         {(uint32 )289, (short)-1, (short)-1, (TIFFDataType )16, (uint32 )0,
2369       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,   2369       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,
2370       (unsigned char)0, (unsigned char)0, (char *)"FreeByteCounts",   2370       (unsigned char)0, (unsigned char)0, (char *)"FreeByteCounts",
2371       (TIFFFieldArray *)((void *)0)},   2371       (TIFFFieldArray *)((void *)0)},
2372         {(uint32 )290, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2372         {(uint32 )290, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2373       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,   2373       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,
2374       (unsigned char)1, (unsigned char)0, (char *)"GrayResponseUnit",   2374       (unsigned char)1, (unsigned char)0, (char *)"GrayResponseUnit",
2375       (TIFFFieldArray *)((void *)0)},   2375       (TIFFFieldArray *)((void *)0)},
2376         {(uint32 )291, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,   2376         {(uint32 )291, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,
2377       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,   2377       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,
2378       (unsigned char)1, (unsigned char)0, (char *)"GrayResponseCurve",   2378       (unsigned char)1, (unsigned char)0, (char *)"GrayResponseCurve",
2379       (TIFFFieldArray *)((void *)0)},   2379       (TIFFFieldArray *)((void *)0)},
2380         {(uint32 )296, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2380         {(uint32 )296, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2381       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)22,   2381       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)22,
2382       (unsigned char)1, (unsigned char)0, (char *)"ResolutionUnit",   2382       (unsigned char)1, (unsigned char)0, (char *)"ResolutionUnit",
2383       (TIFFFieldArray *)((void *)0)},   2383       (TIFFFieldArray *)((void *)0)},
2384         {(uint32 )297, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,   2384         {(uint32 )297, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,
2385       (TIFFSetGetFieldType )14, (TIFFSetGetFieldType )0, (unsigned short)23,   2385       (TIFFSetGetFieldType )14, (TIFFSetGetFieldType )0, (unsigned short)23,
2386       (unsigned char)1, (unsigned char)0, (char *)"PageNumber",   2386       (unsigned char)1, (unsigned char)0, (char *)"PageNumber",
2387       (TIFFFieldArray *)((void *)0)},   2387       (TIFFFieldArray *)((void *)0)},
2388         {(uint32 )300, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2388         {(uint32 )300, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2389       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,   2389       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,
2390       (unsigned char)1, (unsigned char)0, (char *)"ColorResponseUnit",   2390       (unsigned char)1, (unsigned char)0, (char *)"ColorResponseUnit",
2391       (TIFFFieldArray *)((void *)0)},   2391       (TIFFFieldArray *)((void *)0)},
2392         {(uint32 )301, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,   2392         {(uint32 )301, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,
2393       (TIFFSetGetFieldType )51, (TIFFSetGetFieldType )0, (unsigned short)44,   2393       (TIFFSetGetFieldType )51, (TIFFSetGetFieldType )0, (unsigned short)44,
2394       (unsigned char)1, (unsigned char)0, (char *)"TransferFunction",   2394       (unsigned char)1, (unsigned char)0, (char *)"TransferFunction",
2395       (TIFFFieldArray *)((void *)0)},   2395       (TIFFFieldArray *)((void *)0)},
2396         {(uint32 )305, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2396         {(uint32 )305, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2397       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2397       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2398       (unsigned char)1, (unsigned char)0, (char *)"Software",   2398       (unsigned char)1, (unsigned char)0, (char *)"Software",
2399       (TIFFFieldArray *)((void *)0)},   2399       (TIFFFieldArray *)((void *)0)},
2400         {(uint32 )306, (short)20, (short)20, (TIFFDataType )2, (uint32 )0,   2400         {(uint32 )306, (short)20, (short)20, (TIFFDataType )2, (uint32 )0,
2401       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2401       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2402       (unsigned char)1, (unsigned char)0, (char *)"DateTime",   2402       (unsigned char)1, (unsigned char)0, (char *)"DateTime",
2403       (TIFFFieldArray *)((void *)0)},   2403       (TIFFFieldArray *)((void *)0)},
2404         {(uint32 )315, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2404         {(uint32 )315, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2405       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2405       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2406       (unsigned char)1, (unsigned char)0, (char *)"Artist",   2406       (unsigned char)1, (unsigned char)0, (char *)"Artist",
2407       (TIFFFieldArray *)((void *)0)},   2407       (TIFFFieldArray *)((void *)0)},
2408         {(uint32 )316, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2408         {(uint32 )316, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2409       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2409       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2410       (unsigned char)1, (unsigned char)0, (char *)"HostComputer",   2410       (unsigned char)1, (unsigned char)0, (char *)"HostComputer",
2411       (TIFFFieldArray *)((void *)0)},   2411       (TIFFFieldArray *)((void *)0)},
2412         {(uint32 )318, (short)2, (short)2, (TIFFDataType )5, (uint32 )0,   2412         {(uint32 )318, (short)2, (short)2, (TIFFDataType )5, (uint32 )0,
2413       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,   2413       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,
2414       (unsigned char)1, (unsigned char)0, (char *)"WhitePoint",   2414       (unsigned char)1, (unsigned char)0, (char *)"WhitePoint",
2415       (TIFFFieldArray *)((void *)0)},   2415       (TIFFFieldArray *)((void *)0)},
2416         {(uint32 )319, (short)6, (short)6, (TIFFDataType )5, (uint32 )0,   2416         {(uint32 )319, (short)6, (short)6, (TIFFDataType )5, (uint32 )0,
2417       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,   2417       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,
2418       (unsigned char)1, (unsigned char)0, (char *)"PrimaryChromaticities",   2418       (unsigned char)1, (unsigned char)0, (char *)"PrimaryChromaticities",
2419       (TIFFFieldArray *)((void *)0)},   2419       (TIFFFieldArray *)((void *)0)},
2420         {(uint32 )320, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,   2420         {(uint32 )320, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,
2421       (TIFFSetGetFieldType )51, (TIFFSetGetFieldType )0, (unsigned short)26,   2421       (TIFFSetGetFieldType )51, (TIFFSetGetFieldType )0, (unsigned short)26,
2422       (unsigned char)1, (unsigned char)0, (char *)"ColorMap",   2422       (unsigned char)1, (unsigned char)0, (char *)"ColorMap",
2423       (TIFFFieldArray *)((void *)0)},   2423       (TIFFFieldArray *)((void *)0)},
2424         {(uint32 )321, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,   2424         {(uint32 )321, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,
2425       (TIFFSetGetFieldType )14, (TIFFSetGetFieldType )0, (unsigned short)37,   2425       (TIFFSetGetFieldType )14, (TIFFSetGetFieldType )0, (unsigned short)37,
2426       (unsigned char)1, (unsigned char)0, (char *)"HalftoneHints",   2426       (unsigned char)1, (unsigned char)0, (char *)"HalftoneHints",
2427       (TIFFFieldArray *)((void *)0)},   2427       (TIFFFieldArray *)((void *)0)},
2428         {(uint32 )322, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2428         {(uint32 )322, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2429       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)2,   2429       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)2,
2430       (unsigned char)0, (unsigned char)0, (char *)"TileWidth",   2430       (unsigned char)0, (unsigned char)0, (char *)"TileWidth",
2431       (TIFFFieldArray *)((void *)0)},   2431       (TIFFFieldArray *)((void *)0)},
2432         {(uint32 )323, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2432         {(uint32 )323, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2433       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)2,   2433       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)2,
2434       (unsigned char)0, (unsigned char)0, (char *)"TileLength",   2434       (unsigned char)0, (unsigned char)0, (char *)"TileLength",
2435       (TIFFFieldArray *)((void *)0)},   2435       (TIFFFieldArray *)((void *)0)},
2436         {(uint32 )324, (short)-1, (short)1, (TIFFDataType )16, (uint32 )0,   2436         {(uint32 )324, (short)-1, (short)1, (TIFFDataType )16, (uint32 )0,
2437       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)25,   2437       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)25,
2438       (unsigned char)0, (unsigned char)0, (char *)"TileOffsets",   2438       (unsigned char)0, (unsigned char)0, (char *)"TileOffsets",
2439       (TIFFFieldArray *)((void *)0)},   2439       (TIFFFieldArray *)((void *)0)},
2440         {(uint32 )325, (short)-1, (short)1, (TIFFDataType )16, (uint32 )0,   2440         {(uint32 )325, (short)-1, (short)1, (TIFFDataType )16, (uint32 )0,
2441       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)24,   2441       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)24,
2442       (unsigned char)0, (unsigned char)0, (char *)"TileByteCounts",   2442       (unsigned char)0, (unsigned char)0, (char *)"TileByteCounts",
2443       (TIFFFieldArray *)((void *)0)},   2443       (TIFFFieldArray *)((void *)0)},
2444         {(uint32 )330, (short)-1, (short)-1, (TIFFDataType )18, (uint32 )0,   2444         {(uint32 )330, (short)-1, (short)-1, (TIFFDataType )18, (uint32 )0,
2445       (TIFFSetGetFieldType )38, (TIFFSetGetFieldType )0, (unsigned short)49,   2445       (TIFFSetGetFieldType )38, (TIFFSetGetFieldType )0, (unsigned short)49,
2446       (unsigned char)1, (unsigned char)1, (char *)"SubIFD",   2446       (unsigned char)1, (unsigned char)1, (char *)"SubIFD",
2447       (TIFFFieldArray *)(& tiffFieldArray)},   2447       (TIFFFieldArray *)(& tiffFieldArray)},
2448         {(uint32 )332, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2448         {(uint32 )332, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2449       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2449       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2450       (unsigned char)0, (unsigned char)0, (char *)"InkSet",   2450       (unsigned char)0, (unsigned char)0, (char *)"InkSet",
2451       (TIFFFieldArray *)((void *)0)},   2451       (TIFFFieldArray *)((void *)0)},
2452         {(uint32 )333, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2452         {(uint32 )333, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2453       (TIFFSetGetFieldType )27, (TIFFSetGetFieldType )0, (unsigned short)46,   2453       (TIFFSetGetFieldType )27, (TIFFSetGetFieldType )0, (unsigned short)46,
2454       (unsigned char)1, (unsigned char)1, (char *)"InkNames",   2454       (unsigned char)1, (unsigned char)1, (char *)"InkNames",
2455       (TIFFFieldArray *)((void *)0)},   2455       (TIFFFieldArray *)((void *)0)},
2456         {(uint32 )334, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2456         {(uint32 )334, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2457       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2457       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2458       (unsigned char)1, (unsigned char)0, (char *)"NumberOfInks",   2458       (unsigned char)1, (unsigned char)0, (char *)"NumberOfInks",
2459       (TIFFFieldArray *)((void *)0)},   2459       (TIFFFieldArray *)((void *)0)},
2460         {(uint32 )336, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,   2460         {(uint32 )336, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,
2461       (TIFFSetGetFieldType )14, (TIFFSetGetFieldType )0, (unsigned short)65,   2461       (TIFFSetGetFieldType )14, (TIFFSetGetFieldType )0, (unsigned short)65,
2462       (unsigned char)0, (unsigned char)0, (char *)"DotRange",   2462       (unsigned char)0, (unsigned char)0, (char *)"DotRange",
2463       (TIFFFieldArray *)((void *)0)},   2463       (TIFFFieldArray *)((void *)0)},
2464         {(uint32 )337, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2464         {(uint32 )337, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2465       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2465       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2466       (unsigned char)1, (unsigned char)0, (char *)"TargetPrinter",   2466       (unsigned char)1, (unsigned char)0, (char *)"TargetPrinter",
2467       (TIFFFieldArray *)((void *)0)},   2467       (TIFFFieldArray *)((void *)0)},
2468         {(uint32 )338, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,   2468         {(uint32 )338, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,
2469       (TIFFSetGetFieldType )30, (TIFFSetGetFieldType )0, (unsigned short)31,   2469       (TIFFSetGetFieldType )30, (TIFFSetGetFieldType )0, (unsigned short)31,
2470       (unsigned char)0, (unsigned char)1, (char *)"ExtraSamples",   2470       (unsigned char)0, (unsigned char)1, (char *)"ExtraSamples",
2471       (TIFFFieldArray *)((void *)0)},   2471       (TIFFFieldArray *)((void *)0)},
2472         {(uint32 )339, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,   2472         {(uint32 )339, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,
2473       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)32,   2473       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)32,
2474       (unsigned char)0, (unsigned char)0, (char *)"SampleFormat",   2474       (unsigned char)0, (unsigned char)0, (char *)"SampleFormat",
2475       (TIFFFieldArray *)((void *)0)},   2475       (TIFFFieldArray *)((void *)0)},
2476         {(uint32 )340, (short)-2, (short)-1, (TIFFDataType )0, (uint32 )0,   2476         {(uint32 )340, (short)-2, (short)-1, (TIFFDataType )0, (uint32 )0,
2477       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)33,   2477       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)33,
2478       (unsigned char)1, (unsigned char)0, (char *)"SMinSampleValue",   2478       (unsigned char)1, (unsigned char)0, (char *)"SMinSampleValue",
2479       (TIFFFieldArray *)((void *)0)},   2479       (TIFFFieldArray *)((void *)0)},
2480         {(uint32 )341, (short)-2, (short)-1, (TIFFDataType )0, (uint32 )0,   2480         {(uint32 )341, (short)-2, (short)-1, (TIFFDataType )0, (uint32 )0,
2481       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)34,   2481       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)34,
2482       (unsigned char)1, (unsigned char)0, (char *)"SMaxSampleValue",   2482       (unsigned char)1, (unsigned char)0, (char *)"SMaxSampleValue",
2483       (TIFFFieldArray *)((void *)0)},   2483       (TIFFFieldArray *)((void *)0)},
2484         {(uint32 )343, (short)-1, (short)-3, (TIFFDataType )1, (uint32 )0,   2484         {(uint32 )343, (short)-1, (short)-3, (TIFFDataType )1, (uint32 )0,
2485       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2485       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2486       (unsigned char)0, (unsigned char)1, (char *)"ClipPath",   2486       (unsigned char)0, (unsigned char)1, (char *)"ClipPath",
2487       (TIFFFieldArray *)((void *)0)},   2487       (TIFFFieldArray *)((void *)0)},
2488         {(uint32 )344, (short)1, (short)1, (TIFFDataType )9, (uint32 )0,   2488         {(uint32 )344, (short)1, (short)1, (TIFFDataType )9, (uint32 )0,
2489       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2489       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2490       (unsigned char)0, (unsigned char)0, (char *)"XClipPathUnits",   2490       (unsigned char)0, (unsigned char)0, (char *)"XClipPathUnits",
2491       (TIFFFieldArray *)((void *)0)},   2491       (TIFFFieldArray *)((void *)0)},
2492         {(uint32 )344, (short)1, (short)1, (TIFFDataType )6, (uint32 )0,   2492         {(uint32 )344, (short)1, (short)1, (TIFFDataType )6, (uint32 )0,
2493       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2493       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2494       (unsigned char)0, (unsigned char)0, (char *)"XClipPathUnits",   2494       (unsigned char)0, (unsigned char)0, (char *)"XClipPathUnits",
2495       (TIFFFieldArray *)((void *)0)},   2495       (TIFFFieldArray *)((void *)0)},
2496         {(uint32 )345, (short)1, (short)1, (TIFFDataType )9, (uint32 )0,   2496         {(uint32 )345, (short)1, (short)1, (TIFFDataType )9, (uint32 )0,
2497       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2497       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2498       (unsigned char)0, (unsigned char)0, (char *)"YClipPathUnits",   2498       (unsigned char)0, (unsigned char)0, (char *)"YClipPathUnits",
2499       (TIFFFieldArray *)((void *)0)},   2499       (TIFFFieldArray *)((void *)0)},
2500         {(uint32 )529, (short)3, (short)3, (TIFFDataType )5, (uint32 )0,   2500         {(uint32 )529, (short)3, (short)3, (TIFFDataType )5, (uint32 )0,
2501       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,   2501       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,
2502       (unsigned char)0, (unsigned char)0, (char *)"YCbCrCoefficients",   2502       (unsigned char)0, (unsigned char)0, (char *)"YCbCrCoefficients",
2503       (TIFFFieldArray *)((void *)0)},   2503       (TIFFFieldArray *)((void *)0)},
2504         {(uint32 )530, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,   2504         {(uint32 )530, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,
2505       (TIFFSetGetFieldType )14, (TIFFSetGetFieldType )0, (unsigned short)39,   2505       (TIFFSetGetFieldType )14, (TIFFSetGetFieldType )0, (unsigned short)39,
2506       (unsigned char)0, (unsigned char)0, (char *)"YCbCrSubsampling",   2506       (unsigned char)0, (unsigned char)0, (char *)"YCbCrSubsampling",
2507       (TIFFFieldArray *)((void *)0)},   2507       (TIFFFieldArray *)((void *)0)},
2508         {(uint32 )531, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2508         {(uint32 )531, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2509       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)40,   2509       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)40,
2510       (unsigned char)0, (unsigned char)0, (char *)"YCbCrPositioning",   2510       (unsigned char)0, (unsigned char)0, (char *)"YCbCrPositioning",
2511       (TIFFFieldArray *)((void *)0)},   2511       (TIFFFieldArray *)((void *)0)},
2512         {(uint32 )532, (short)6, (short)6, (TIFFDataType )5, (uint32 )0,   2512         {(uint32 )532, (short)6, (short)6, (TIFFDataType )5, (uint32 )0,
2513       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,   2513       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,
2514       (unsigned char)1, (unsigned char)0, (char *)"ReferenceBlackWhite",   2514       (unsigned char)1, (unsigned char)0, (char *)"ReferenceBlackWhite",
2515       (TIFFFieldArray *)((void *)0)},   2515       (TIFFFieldArray *)((void *)0)},
2516         {(uint32 )700, (short)-3, (short)-3, (TIFFDataType )1, (uint32 )0,   2516         {(uint32 )700, (short)-3, (short)-3, (TIFFDataType )1, (uint32 )0,
2517       (TIFFSetGetFieldType )40, (TIFFSetGetFieldType )0, (unsigned short)65,   2517       (TIFFSetGetFieldType )40, (TIFFSetGetFieldType )0, (unsigned short)65,
2518       (unsigned char)0, (unsigned char)1, (char *)"XMLPacket",   2518       (unsigned char)0, (unsigned char)1, (char *)"XMLPacket",
2519       (TIFFFieldArray *)((void *)0)},   2519       (TIFFFieldArray *)((void *)0)},
2520         {(uint32 )32995, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2520         {(uint32 )32995, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2521       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)31,   2521       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)31,
2522       (unsigned char)0, (unsigned char)0, (char *)"Matteing",   2522       (unsigned char)0, (unsigned char)0, (char *)"Matteing",
2523       (TIFFFieldArray *)((void *)0)},   2523       (TIFFFieldArray *)((void *)0)},
2524         {(uint32 )32996, (short)-2, (short)-1, (TIFFDataType )3, (uint32 )0,   2524         {(uint32 )32996, (short)-2, (short)-1, (TIFFDataType )3, (uint32 )0,
2525       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)32,   2525       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)32,
2526       (unsigned char)0, (unsigned char)0, (char *)"DataType",   2526       (unsigned char)0, (unsigned char)0, (char *)"DataType",
2527       (TIFFFieldArray *)((void *)0)},   2527       (TIFFFieldArray *)((void *)0)},
2528         {(uint32 )32997, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2528         {(uint32 )32997, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2529       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)35,   2529       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)35,
2530       (unsigned char)0, (unsigned char)0, (char *)"ImageDepth",   2530       (unsigned char)0, (unsigned char)0, (char *)"ImageDepth",
2531       (TIFFFieldArray *)((void *)0)},   2531       (TIFFFieldArray *)((void *)0)},
2532         {(uint32 )32998, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2532         {(uint32 )32998, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2533       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)36,   2533       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)36,
2534       (unsigned char)0, (unsigned char)0, (char *)"TileDepth",   2534       (unsigned char)0, (unsigned char)0, (char *)"TileDepth",
2535       (TIFFFieldArray *)((void *)0)},   2535       (TIFFFieldArray *)((void *)0)},
2536         {(uint32 )33300, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2536         {(uint32 )33300, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2537       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2537       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2538       (unsigned char)1, (unsigned char)0, (char *)"ImageFullWidth",   2538       (unsigned char)1, (unsigned char)0, (char *)"ImageFullWidth",
2539       (TIFFFieldArray *)((void *)0)},   2539       (TIFFFieldArray *)((void *)0)},
2540         {(uint32 )33301, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2540         {(uint32 )33301, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2541       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2541       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2542       (unsigned char)1, (unsigned char)0, (char *)"ImageFullLength",   2542       (unsigned char)1, (unsigned char)0, (char *)"ImageFullLength",
2543       (TIFFFieldArray *)((void *)0)},   2543       (TIFFFieldArray *)((void *)0)},
2544         {(uint32 )33302, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2544         {(uint32 )33302, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2545       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2545       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2546       (unsigned char)1, (unsigned char)0, (char *)"TextureFormat",   2546       (unsigned char)1, (unsigned char)0, (char *)"TextureFormat",
2547       (TIFFFieldArray *)((void *)0)},   2547       (TIFFFieldArray *)((void *)0)},
2548         {(uint32 )33303, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2548         {(uint32 )33303, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2549       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2549       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2550       (unsigned char)1, (unsigned char)0, (char *)"TextureWrapModes",   2550       (unsigned char)1, (unsigned char)0, (char *)"TextureWrapModes",
2551       (TIFFFieldArray *)((void *)0)},   2551       (TIFFFieldArray *)((void *)0)},
2552         {(uint32 )33304, (short)1, (short)1, (TIFFDataType )11, (uint32 )0,   2552         {(uint32 )33304, (short)1, (short)1, (TIFFDataType )11, (uint32 )0,
2553       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2553       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2554       (unsigned char)1, (unsigned char)0, (char *)"FieldOfViewCotangent",   2554       (unsigned char)1, (unsigned char)0, (char *)"FieldOfViewCotangent",
2555       (TIFFFieldArray *)((void *)0)},   2555       (TIFFFieldArray *)((void *)0)},
2556         {(uint32 )33305, (short)16, (short)16, (TIFFDataType )11, (uint32 )0,   2556         {(uint32 )33305, (short)16, (short)16, (TIFFDataType )11, (uint32 )0,
2557       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2557       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2558       (unsigned char)1, (unsigned char)0, (char *)"MatrixWorldToScreen",   2558       (unsigned char)1, (unsigned char)0, (char *)"MatrixWorldToScreen",
2559       (TIFFFieldArray *)((void *)0)},   2559       (TIFFFieldArray *)((void *)0)},
2560         {(uint32 )33306, (short)16, (short)16, (TIFFDataType )11, (uint32 )0,   2560         {(uint32 )33306, (short)16, (short)16, (TIFFDataType )11, (uint32 )0,
2561       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2561       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2562       (unsigned char)1, (unsigned char)0, (char *)"MatrixWorldToCamera",   2562       (unsigned char)1, (unsigned char)0, (char *)"MatrixWorldToCamera",
2563       (TIFFFieldArray *)((void *)0)},   2563       (TIFFFieldArray *)((void *)0)},
2564         {(uint32 )33432, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2564         {(uint32 )33432, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2565       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2565       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2566       (unsigned char)1, (unsigned char)0, (char *)"Copyright",   2566       (unsigned char)1, (unsigned char)0, (char *)"Copyright",
2567       (TIFFFieldArray *)((void *)0)},   2567       (TIFFFieldArray *)((void *)0)},
2568         {(uint32 )33723, (short)-3, (short)-3, (TIFFDataType )4, (uint32 )0,   2568         {(uint32 )33723, (short)-3, (short)-3, (TIFFDataType )4, (uint32 )0,
2569       (TIFFSetGetFieldType )44, (TIFFSetGetFieldType )0, (unsigned short)65,   2569       (TIFFSetGetFieldType )44, (TIFFSetGetFieldType )0, (unsigned short)65,
2570       (unsigned char)0, (unsigned char)1, (char *)"RichTIFFIPTC",   2570       (unsigned char)0, (unsigned char)1, (char *)"RichTIFFIPTC",
2571       (TIFFFieldArray *)((void *)0)},   2571       (TIFFFieldArray *)((void *)0)},
2572         {(uint32 )34377, (short)-3, (short)-3, (TIFFDataType )1, (uint32 )0,   2572         {(uint32 )34377, (short)-3, (short)-3, (TIFFDataType )1, (uint32 )0,
2573       (TIFFSetGetFieldType )40, (TIFFSetGetFieldType )0, (unsigned short)65,   2573       (TIFFSetGetFieldType )40, (TIFFSetGetFieldType )0, (unsigned short)65,
2574       (unsigned char)0, (unsigned char)1, (char *)"Photoshop",   2574       (unsigned char)0, (unsigned char)1, (char *)"Photoshop",
2575       (TIFFFieldArray *)((void *)0)},   2575       (TIFFFieldArray *)((void *)0)},
2576         {(uint32 )34665, (short)1, (short)1, (TIFFDataType )18, (uint32 )0,   2576         {(uint32 )34665, (short)1, (short)1, (TIFFDataType )18, (uint32 )0,
2577       (TIFFSetGetFieldType )12, (TIFFSetGetFieldType )0, (unsigned short)65,   2577       (TIFFSetGetFieldType )12, (TIFFSetGetFieldType )0, (unsigned short)65,
2578       (unsigned char)0, (unsigned char)0, (char *)"EXIFIFDOffset",   2578       (unsigned char)0, (unsigned char)0, (char *)"EXIFIFDOffset",
2579       (TIFFFieldArray *)(& exifFieldArray)},   2579       (TIFFFieldArray *)(& exifFieldArray)},
2580         {(uint32 )34675, (short)-3, (short)-3, (TIFFDataType )7, (uint32 )0,   2580         {(uint32 )34675, (short)-3, (short)-3, (TIFFDataType )7, (uint32 )0,
2581       (TIFFSetGetFieldType )40, (TIFFSetGetFieldType )0, (unsigned short)65,   2581       (TIFFSetGetFieldType )40, (TIFFSetGetFieldType )0, (unsigned short)65,
2582       (unsigned char)0, (unsigned char)1, (char *)"ICC Profile",   2582       (unsigned char)0, (unsigned char)1, (char *)"ICC Profile",
2583       (TIFFFieldArray *)((void *)0)},   2583       (TIFFFieldArray *)((void *)0)},
2584         {(uint32 )34853, (short)1, (short)1, (TIFFDataType )18, (uint32 )0,   2584         {(uint32 )34853, (short)1, (short)1, (TIFFDataType )18, (uint32 )0,
2585       (TIFFSetGetFieldType )12, (TIFFSetGetFieldType )0, (unsigned short)65,   2585       (TIFFSetGetFieldType )12, (TIFFSetGetFieldType )0, (unsigned short)65,
2586       (unsigned char)0, (unsigned char)0, (char *)"GPSIFDOffset",   2586       (unsigned char)0, (unsigned char)0, (char *)"GPSIFDOffset",
2587       (TIFFFieldArray *)((void *)0)},   2587       (TIFFFieldArray *)((void *)0)},
2588         {(uint32 )34908, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2588         {(uint32 )34908, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2589       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )6, (unsigned short)65,   2589       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )6, (unsigned short)65,
2590       (unsigned char)1, (unsigned char)0, (char *)"FaxRecvParams",   2590       (unsigned char)1, (unsigned char)0, (char *)"FaxRecvParams",
2591       (TIFFFieldArray *)((void *)0)},   2591       (TIFFFieldArray *)((void *)0)},
2592         {(uint32 )34909, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2592         {(uint32 )34909, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2593       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )1, (unsigned short)65,   2593       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )1, (unsigned short)65,
2594       (unsigned char)1, (unsigned char)0, (char *)"FaxSubAddress",   2594       (unsigned char)1, (unsigned char)0, (char *)"FaxSubAddress",
2595       (TIFFFieldArray *)((void *)0)},   2595       (TIFFFieldArray *)((void *)0)},
2596         {(uint32 )34910, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2596         {(uint32 )34910, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2597       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )6, (unsigned short)65,   2597       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )6, (unsigned short)65,
2598       (unsigned char)1, (unsigned char)0, (char *)"FaxRecvTime",   2598       (unsigned char)1, (unsigned char)0, (char *)"FaxRecvTime",
2599       (TIFFFieldArray *)((void *)0)},   2599       (TIFFFieldArray *)((void *)0)},
2600         {(uint32 )34911, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2600         {(uint32 )34911, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2601       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )1, (unsigned short)65,   2601       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )1, (unsigned short)65,
2602       (unsigned char)1, (unsigned char)0, (char *)"FaxDcs",   2602       (unsigned char)1, (unsigned char)0, (char *)"FaxDcs",
2603       (TIFFFieldArray *)((void *)0)},   2603       (TIFFFieldArray *)((void *)0)},
2604         {(uint32 )37439, (short)1, (short)1, (TIFFDataType )12, (uint32 )0,   2604         {(uint32 )37439, (short)1, (short)1, (TIFFDataType )12, (uint32 )0,
2605       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2605       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2606       (unsigned char)0, (unsigned char)0, (char *)"StoNits",   2606       (unsigned char)0, (unsigned char)0, (char *)"StoNits",
2607       (TIFFFieldArray *)((void *)0)},   2607       (TIFFFieldArray *)((void *)0)},
2608         {(uint32 )40965, (short)1, (short)1, (TIFFDataType )18, (uint32 )0,   2608         {(uint32 )40965, (short)1, (short)1, (TIFFDataType )18, (uint32 )0,
2609       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2609       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2610       (unsigned char)0, (unsigned char)0, (char *)"InteroperabilityIFDOffset",   2610       (unsigned char)0, (unsigned char)0, (char *)"InteroperabilityIFDOffset",
2611       (TIFFFieldArray *)((void *)0)},   2611       (TIFFFieldArray *)((void *)0)},
2612         {(uint32 )50706, (short)4, (short)4, (TIFFDataType )1, (uint32 )0,   2612         {(uint32 )50706, (short)4, (short)4, (TIFFDataType )1, (uint32 )0,
2613       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,   2613       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,
2614       (unsigned char)0, (unsigned char)0, (char *)"DNGVersion",   2614       (unsigned char)0, (unsigned char)0, (char *)"DNGVersion",
2615       (TIFFFieldArray *)((void *)0)},   2615       (TIFFFieldArray *)((void *)0)},
2616         {(uint32 )50707, (short)4, (short)4, (TIFFDataType )1, (uint32 )0,   2616         {(uint32 )50707, (short)4, (short)4, (TIFFDataType )1, (uint32 )0,
2617       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,   2617       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,
2618       (unsigned char)0, (unsigned char)0, (char *)"DNGBackwardVersion",   2618       (unsigned char)0, (unsigned char)0, (char *)"DNGBackwardVersion",
2619       (TIFFFieldArray *)((void *)0)},   2619       (TIFFFieldArray *)((void *)0)},
2620         {(uint32 )50708, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2620         {(uint32 )50708, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2621       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2621       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2622       (unsigned char)1, (unsigned char)0, (char *)"UniqueCameraModel",   2622       (unsigned char)1, (unsigned char)0, (char *)"UniqueCameraModel",
2623       (TIFFFieldArray *)((void *)0)},   2623       (TIFFFieldArray *)((void *)0)},
2624         {(uint32 )50709, (short)-1, (short)-1, (TIFFDataType )1, (uint32 )0,   2624         {(uint32 )50709, (short)-1, (short)-1, (TIFFDataType )1, (uint32 )0,
2625       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2625       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2626       (unsigned char)1, (unsigned char)1, (char *)"LocalizedCameraModel",   2626       (unsigned char)1, (unsigned char)1, (char *)"LocalizedCameraModel",
2627       (TIFFFieldArray *)((void *)0)},   2627       (TIFFFieldArray *)((void *)0)},
2628         {(uint32 )50710, (short)-1, (short)-1, (TIFFDataType )1, (uint32 )0,   2628         {(uint32 )50710, (short)-1, (short)-1, (TIFFDataType )1, (uint32 )0,
2629       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2629       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2630       (unsigned char)0, (unsigned char)1, (char *)"CFAPlaneColor",   2630       (unsigned char)0, (unsigned char)1, (char *)"CFAPlaneColor",
2631       (TIFFFieldArray *)((void *)0)},   2631       (TIFFFieldArray *)((void *)0)},
2632         {(uint32 )50711, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2632         {(uint32 )50711, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2633       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2633       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2634       (unsigned char)0, (unsigned char)0, (char *)"CFALayout",   2634       (unsigned char)0, (unsigned char)0, (char *)"CFALayout",
2635       (TIFFFieldArray *)((void *)0)},   2635       (TIFFFieldArray *)((void *)0)},
2636         {(uint32 )50712, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,   2636         {(uint32 )50712, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,
2637       (TIFFSetGetFieldType )30, (TIFFSetGetFieldType )0, (unsigned short)65,   2637       (TIFFSetGetFieldType )30, (TIFFSetGetFieldType )0, (unsigned short)65,
2638       (unsigned char)0, (unsigned char)1, (char *)"LinearizationTable",   2638       (unsigned char)0, (unsigned char)1, (char *)"LinearizationTable",
2639       (TIFFFieldArray *)((void *)0)},   2639       (TIFFFieldArray *)((void *)0)},
2640         {(uint32 )50713, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,   2640         {(uint32 )50713, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,
2641       (TIFFSetGetFieldType )18, (TIFFSetGetFieldType )0, (unsigned short)65,   2641       (TIFFSetGetFieldType )18, (TIFFSetGetFieldType )0, (unsigned short)65,
2642       (unsigned char)0, (unsigned char)0, (char *)"BlackLevelRepeatDim",   2642       (unsigned char)0, (unsigned char)0, (char *)"BlackLevelRepeatDim",
2643       (TIFFFieldArray *)((void *)0)},   2643       (TIFFFieldArray *)((void *)0)},
2644         {(uint32 )50714, (short)-1, (short)-1, (TIFFDataType )5, (uint32 )0,   2644         {(uint32 )50714, (short)-1, (short)-1, (TIFFDataType )5, (uint32 )0,
2645       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2645       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2646       (unsigned char)0, (unsigned char)1, (char *)"BlackLevel",   2646       (unsigned char)0, (unsigned char)1, (char *)"BlackLevel",
2647       (TIFFFieldArray *)((void *)0)},   2647       (TIFFFieldArray *)((void *)0)},
2648         {(uint32 )50715, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,   2648         {(uint32 )50715, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,
2649       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2649       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2650       (unsigned char)0, (unsigned char)1, (char *)"BlackLevelDeltaH",   2650       (unsigned char)0, (unsigned char)1, (char *)"BlackLevelDeltaH",
2651       (TIFFFieldArray *)((void *)0)},   2651       (TIFFFieldArray *)((void *)0)},
2652         {(uint32 )50716, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,   2652         {(uint32 )50716, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,
2653       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2653       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2654       (unsigned char)0, (unsigned char)1, (char *)"BlackLevelDeltaV",   2654       (unsigned char)0, (unsigned char)1, (char *)"BlackLevelDeltaV",
2655       (TIFFFieldArray *)((void *)0)},   2655       (TIFFFieldArray *)((void *)0)},
2656         {(uint32 )50717, (short)-1, (short)-1, (TIFFDataType )4, (uint32 )0,   2656         {(uint32 )50717, (short)-1, (short)-1, (TIFFDataType )4, (uint32 )0,
2657       (TIFFSetGetFieldType )32, (TIFFSetGetFieldType )0, (unsigned short)65,   2657       (TIFFSetGetFieldType )32, (TIFFSetGetFieldType )0, (unsigned short)65,
2658       (unsigned char)0, (unsigned char)1, (char *)"WhiteLevel",   2658       (unsigned char)0, (unsigned char)1, (char *)"WhiteLevel",
2659       (TIFFFieldArray *)((void *)0)},   2659       (TIFFFieldArray *)((void *)0)},
2660         {(uint32 )50718, (short)2, (short)2, (TIFFDataType )5, (uint32 )0,   2660         {(uint32 )50718, (short)2, (short)2, (TIFFDataType )5, (uint32 )0,
2661       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,   2661       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,
2662       (unsigned char)0, (unsigned char)0, (char *)"DefaultScale",   2662       (unsigned char)0, (unsigned char)0, (char *)"DefaultScale",
2663       (TIFFFieldArray *)((void *)0)},   2663       (TIFFFieldArray *)((void *)0)},
2664         {(uint32 )50780, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2664         {(uint32 )50780, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2665       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2665       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2666       (unsigned char)0, (unsigned char)0, (char *)"BestQualityScale",   2666       (unsigned char)0, (unsigned char)0, (char *)"BestQualityScale",
2667       (TIFFFieldArray *)((void *)0)},   2667       (TIFFFieldArray *)((void *)0)},
2668         {(uint32 )50719, (short)2, (short)2, (TIFFDataType )5, (uint32 )0,   2668         {(uint32 )50719, (short)2, (short)2, (TIFFDataType )5, (uint32 )0,
2669       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,   2669       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,
2670       (unsigned char)0, (unsigned char)0, (char *)"DefaultCropOrigin",   2670       (unsigned char)0, (unsigned char)0, (char *)"DefaultCropOrigin",
2671       (TIFFFieldArray *)((void *)0)},   2671       (TIFFFieldArray *)((void *)0)},
2672         {(uint32 )50720, (short)2, (short)2, (TIFFDataType )5, (uint32 )0,   2672         {(uint32 )50720, (short)2, (short)2, (TIFFDataType )5, (uint32 )0,
2673       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,   2673       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,
2674       (unsigned char)0, (unsigned char)0, (char *)"DefaultCropSize",   2674       (unsigned char)0, (unsigned char)0, (char *)"DefaultCropSize",
2675       (TIFFFieldArray *)((void *)0)},   2675       (TIFFFieldArray *)((void *)0)},
2676         {(uint32 )50721, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,   2676         {(uint32 )50721, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,
2677       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2677       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2678       (unsigned char)0, (unsigned char)1, (char *)"ColorMatrix1",   2678       (unsigned char)0, (unsigned char)1, (char *)"ColorMatrix1",
2679       (TIFFFieldArray *)((void *)0)},   2679       (TIFFFieldArray *)((void *)0)},
2680         {(uint32 )50722, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,   2680         {(uint32 )50722, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,
2681       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2681       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2682       (unsigned char)0, (unsigned char)1, (char *)"ColorMatrix2",   2682       (unsigned char)0, (unsigned char)1, (char *)"ColorMatrix2",
2683       (TIFFFieldArray *)((void *)0)},   2683       (TIFFFieldArray *)((void *)0)},
2684         {(uint32 )50723, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,   2684         {(uint32 )50723, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,
2685       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2685       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2686       (unsigned char)0, (unsigned char)1, (char *)"CameraCalibration1",   2686       (unsigned char)0, (unsigned char)1, (char *)"CameraCalibration1",
2687       (TIFFFieldArray *)((void *)0)},   2687       (TIFFFieldArray *)((void *)0)},
2688         {(uint32 )50724, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,   2688         {(uint32 )50724, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,
2689       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2689       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2690       (unsigned char)0, (unsigned char)1, (char *)"CameraCalibration2",   2690       (unsigned char)0, (unsigned char)1, (char *)"CameraCalibration2",
2691       (TIFFFieldArray *)((void *)0)},   2691       (TIFFFieldArray *)((void *)0)},
2692         {(uint32 )50725, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,   2692         {(uint32 )50725, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,
2693       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2693       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2694       (unsigned char)0, (unsigned char)1, (char *)"ReductionMatrix1",   2694       (unsigned char)0, (unsigned char)1, (char *)"ReductionMatrix1",
2695       (TIFFFieldArray *)((void *)0)},   2695       (TIFFFieldArray *)((void *)0)},
2696         {(uint32 )50726, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,   2696         {(uint32 )50726, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,
2697       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2697       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2698       (unsigned char)0, (unsigned char)1, (char *)"ReductionMatrix2",   2698       (unsigned char)0, (unsigned char)1, (char *)"ReductionMatrix2",
2699       (TIFFFieldArray *)((void *)0)},   2699       (TIFFFieldArray *)((void *)0)},
2700         {(uint32 )50727, (short)-1, (short)-1, (TIFFDataType )5, (uint32 )0,   2700         {(uint32 )50727, (short)-1, (short)-1, (TIFFDataType )5, (uint32 )0,
2701       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2701       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2702       (unsigned char)0, (unsigned char)1, (char *)"AnalogBalance",   2702       (unsigned char)0, (unsigned char)1, (char *)"AnalogBalance",
2703       (TIFFFieldArray *)((void *)0)},   2703       (TIFFFieldArray *)((void *)0)},
2704         {(uint32 )50728, (short)-1, (short)-1, (TIFFDataType )5, (uint32 )0,   2704         {(uint32 )50728, (short)-1, (short)-1, (TIFFDataType )5, (uint32 )0,
2705       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2705       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2706       (unsigned char)0, (unsigned char)1, (char *)"AsShotNeutral",   2706       (unsigned char)0, (unsigned char)1, (char *)"AsShotNeutral",
2707       (TIFFFieldArray *)((void *)0)},   2707       (TIFFFieldArray *)((void *)0)},
2708         {(uint32 )50729, (short)2, (short)2, (TIFFDataType )5, (uint32 )0,   2708         {(uint32 )50729, (short)2, (short)2, (TIFFDataType )5, (uint32 )0,
2709       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,   2709       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,
2710       (unsigned char)0, (unsigned char)0, (char *)"AsShotWhiteXY",   2710       (unsigned char)0, (unsigned char)0, (char *)"AsShotWhiteXY",
2711       (TIFFFieldArray *)((void *)0)},   2711       (TIFFFieldArray *)((void *)0)},
2712         {(uint32 )50730, (short)1, (short)1, (TIFFDataType )10, (uint32 )0,   2712         {(uint32 )50730, (short)1, (short)1, (TIFFDataType )10, (uint32 )0,
2713       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2713       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2714       (unsigned char)0, (unsigned char)0, (char *)"BaselineExposure",   2714       (unsigned char)0, (unsigned char)0, (char *)"BaselineExposure",
2715       (TIFFFieldArray *)((void *)0)},   2715       (TIFFFieldArray *)((void *)0)},
2716         {(uint32 )50731, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2716         {(uint32 )50731, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2717       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2717       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2718       (unsigned char)0, (unsigned char)0, (char *)"BaselineNoise",   2718       (unsigned char)0, (unsigned char)0, (char *)"BaselineNoise",
2719       (TIFFFieldArray *)((void *)0)},   2719       (TIFFFieldArray *)((void *)0)},
2720         {(uint32 )50732, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2720         {(uint32 )50732, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2721       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2721       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2722       (unsigned char)0, (unsigned char)0, (char *)"BaselineSharpness",   2722       (unsigned char)0, (unsigned char)0, (char *)"BaselineSharpness",
2723       (TIFFFieldArray *)((void *)0)},   2723       (TIFFFieldArray *)((void *)0)},
2724         {(uint32 )50733, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2724         {(uint32 )50733, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2725       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)65,   2725       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)65,
2726       (unsigned char)0, (unsigned char)0, (char *)"BayerGreenSplit",   2726       (unsigned char)0, (unsigned char)0, (char *)"BayerGreenSplit",
2727       (TIFFFieldArray *)((void *)0)},   2727       (TIFFFieldArray *)((void *)0)},
2728         {(uint32 )50734, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2728         {(uint32 )50734, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2729       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2729       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2730       (unsigned char)0, (unsigned char)0, (char *)"LinearResponseLimit",   2730       (unsigned char)0, (unsigned char)0, (char *)"LinearResponseLimit",
2731       (TIFFFieldArray *)((void *)0)},   2731       (TIFFFieldArray *)((void *)0)},
2732         {(uint32 )50735, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2732         {(uint32 )50735, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2733       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2733       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2734       (unsigned char)1, (unsigned char)0, (char *)"CameraSerialNumber",   2734       (unsigned char)1, (unsigned char)0, (char *)"CameraSerialNumber",
2735       (TIFFFieldArray *)((void *)0)},   2735       (TIFFFieldArray *)((void *)0)},
2736         {(uint32 )50736, (short)4, (short)4, (TIFFDataType )5, (uint32 )0,   2736         {(uint32 )50736, (short)4, (short)4, (TIFFDataType )5, (uint32 )0,
2737       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,   2737       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,
2738       (unsigned char)0, (unsigned char)0, (char *)"LensInfo",   2738       (unsigned char)0, (unsigned char)0, (char *)"LensInfo",
2739       (TIFFFieldArray *)((void *)0)},   2739       (TIFFFieldArray *)((void *)0)},
2740         {(uint32 )50737, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2740         {(uint32 )50737, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2741       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2741       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2742       (unsigned char)0, (unsigned char)0, (char *)"ChromaBlurRadius",   2742       (unsigned char)0, (unsigned char)0, (char *)"ChromaBlurRadius",
2743       (TIFFFieldArray *)((void *)0)},   2743       (TIFFFieldArray *)((void *)0)},
2744         {(uint32 )50738, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2744         {(uint32 )50738, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2745       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2745       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2746       (unsigned char)0, (unsigned char)0, (char *)"AntiAliasStrength",   2746       (unsigned char)0, (unsigned char)0, (char *)"AntiAliasStrength",
2747       (TIFFFieldArray *)((void *)0)},   2747       (TIFFFieldArray *)((void *)0)},
2748         {(uint32 )50739, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2748         {(uint32 )50739, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2749       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2749       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2750       (unsigned char)0, (unsigned char)0, (char *)"ShadowScale",   2750       (unsigned char)0, (unsigned char)0, (char *)"ShadowScale",
2751       (TIFFFieldArray *)((void *)0)},   2751       (TIFFFieldArray *)((void *)0)},
2752         {(uint32 )50740, (short)-1, (short)-1, (TIFFDataType )1, (uint32 )0,   2752         {(uint32 )50740, (short)-1, (short)-1, (TIFFDataType )1, (uint32 )0,
2753       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2753       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2754       (unsigned char)0, (unsigned char)1, (char *)"DNGPrivateData",   2754       (unsigned char)0, (unsigned char)1, (char *)"DNGPrivateData",
2755       (TIFFFieldArray *)((void *)0)},   2755       (TIFFFieldArray *)((void *)0)},
2756         {(uint32 )50741, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2756         {(uint32 )50741, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2757       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2757       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2758       (unsigned char)0, (unsigned char)0, (char *)"MakerNoteSafety",   2758       (unsigned char)0, (unsigned char)0, (char *)"MakerNoteSafety",
2759       (TIFFFieldArray *)((void *)0)},   2759       (TIFFFieldArray *)((void *)0)},
2760         {(uint32 )50778, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2760         {(uint32 )50778, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2761       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2761       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2762       (unsigned char)0, (unsigned char)0, (char *)"CalibrationIlluminant1",   2762       (unsigned char)0, (unsigned char)0, (char *)"CalibrationIlluminant1",
2763       (TIFFFieldArray *)((void *)0)},   2763       (TIFFFieldArray *)((void *)0)},
2764         {(uint32 )50779, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2764         {(uint32 )50779, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2765       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2765       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2766       (unsigned char)0, (unsigned char)0, (char *)"CalibrationIlluminant2",   2766       (unsigned char)0, (unsigned char)0, (char *)"CalibrationIlluminant2",
2767       (TIFFFieldArray *)((void *)0)},   2767       (TIFFFieldArray *)((void *)0)},
2768         {(uint32 )50781, (short)16, (short)16, (TIFFDataType )1, (uint32 )0,   2768         {(uint32 )50781, (short)16, (short)16, (TIFFDataType )1, (uint32 )0,
2769       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,   2769       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,
2770       (unsigned char)0, (unsigned char)0, (char *)"RawDataUniqueID",   2770       (unsigned char)0, (unsigned char)0, (char *)"RawDataUniqueID",
2771       (TIFFFieldArray *)((void *)0)},   2771       (TIFFFieldArray *)((void *)0)},
2772         {(uint32 )50827, (short)-1, (short)-1, (TIFFDataType )1, (uint32 )0,   2772         {(uint32 )50827, (short)-1, (short)-1, (TIFFDataType )1, (uint32 )0,
2773       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2773       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2774       (unsigned char)1, (unsigned char)1, (char *)"OriginalRawFileName",   2774       (unsigned char)1, (unsigned char)1, (char *)"OriginalRawFileName",
2775       (TIFFFieldArray *)((void *)0)},   2775       (TIFFFieldArray *)((void *)0)},
2776         {(uint32 )50828, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,   2776         {(uint32 )50828, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,
2777       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2777       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2778       (unsigned char)0, (unsigned char)1, (char *)"OriginalRawFileData",   2778       (unsigned char)0, (unsigned char)1, (char *)"OriginalRawFileData",
2779       (TIFFFieldArray *)((void *)0)},   2779       (TIFFFieldArray *)((void *)0)},
2780         {(uint32 )50829, (short)4, (short)4, (TIFFDataType )4, (uint32 )0,   2780         {(uint32 )50829, (short)4, (short)4, (TIFFDataType )4, (uint32 )0,
2781       (TIFFSetGetFieldType )20, (TIFFSetGetFieldType )0, (unsigned short)65,   2781       (TIFFSetGetFieldType )20, (TIFFSetGetFieldType )0, (unsigned short)65,
2782       (unsigned char)0, (unsigned char)0, (char *)"ActiveArea",   2782       (unsigned char)0, (unsigned char)0, (char *)"ActiveArea",
2783       (TIFFFieldArray *)((void *)0)},   2783       (TIFFFieldArray *)((void *)0)},
2784         {(uint32 )50830, (short)-1, (short)-1, (TIFFDataType )4, (uint32 )0,   2784         {(uint32 )50830, (short)-1, (short)-1, (TIFFDataType )4, (uint32 )0,
2785       (TIFFSetGetFieldType )32, (TIFFSetGetFieldType )0, (unsigned short)65,   2785       (TIFFSetGetFieldType )32, (TIFFSetGetFieldType )0, (unsigned short)65,
2786       (unsigned char)0, (unsigned char)1, (char *)"MaskedAreas",   2786       (unsigned char)0, (unsigned char)1, (char *)"MaskedAreas",
2787       (TIFFFieldArray *)((void *)0)},   2787       (TIFFFieldArray *)((void *)0)},
2788         {(uint32 )50831, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,   2788         {(uint32 )50831, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,
2789       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2789       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2790       (unsigned char)0, (unsigned char)1, (char *)"AsShotICCProfile",   2790       (unsigned char)0, (unsigned char)1, (char *)"AsShotICCProfile",
2791       (TIFFFieldArray *)((void *)0)},   2791       (TIFFFieldArray *)((void *)0)},
2792         {(uint32 )50832, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,   2792         {(uint32 )50832, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,
2793       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2793       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2794       (unsigned char)0, (unsigned char)1, (char *)"AsShotPreProfileMatrix",   2794       (unsigned char)0, (unsigned char)1, (char *)"AsShotPreProfileMatrix",
2795       (TIFFFieldArray *)((void *)0)},   2795       (TIFFFieldArray *)((void *)0)},
2796         {(uint32 )50833, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,   2796         {(uint32 )50833, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,
2797       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2797       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2798       (unsigned char)0, (unsigned char)1, (char *)"CurrentICCProfile",   2798       (unsigned char)0, (unsigned char)1, (char *)"CurrentICCProfile",
2799       (TIFFFieldArray *)((void *)0)},   2799       (TIFFFieldArray *)((void *)0)},
2800         {(uint32 )50834, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,   2800         {(uint32 )50834, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,
2801       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2801       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2802       (unsigned char)0, (unsigned char)1, (char *)"CurrentPreProfileMatrix",   2802       (unsigned char)0, (unsigned char)1, (char *)"CurrentPreProfileMatrix",
2803       (TIFFFieldArray *)((void *)0)}};   2803       (TIFFFieldArray *)((void *)0)}};
2804 static TIFFField const   exifFields[56]  =   2804 static TIFFField const   exifFields[56]  =
2805   {      {(uint32 )33434, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2805   {      {(uint32 )33434, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2806       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2806       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2807       (unsigned char)1, (unsigned char)0, (char *)"ExposureTime",   2807       (unsigned char)1, (unsigned char)0, (char *)"ExposureTime",
2808       (TIFFFieldArray *)((void *)0)},   2808       (TIFFFieldArray *)((void *)0)},
2809         {(uint32 )33437, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2809         {(uint32 )33437, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2810       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2810       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2811       (unsigned char)1, (unsigned char)0, (char *)"FNumber",   2811       (unsigned char)1, (unsigned char)0, (char *)"FNumber",
2812       (TIFFFieldArray *)((void *)0)},   2812       (TIFFFieldArray *)((void *)0)},
2813         {(uint32 )34850, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2813         {(uint32 )34850, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2814       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2814       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2815       (unsigned char)1, (unsigned char)0, (char *)"ExposureProgram",   2815       (unsigned char)1, (unsigned char)0, (char *)"ExposureProgram",
2816       (TIFFFieldArray *)((void *)0)},   2816       (TIFFFieldArray *)((void *)0)},
2817         {(uint32 )34852, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2817         {(uint32 )34852, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2818       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2818       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2819       (unsigned char)1, (unsigned char)0, (char *)"SpectralSensitivity",   2819       (unsigned char)1, (unsigned char)0, (char *)"SpectralSensitivity",
2820       (TIFFFieldArray *)((void *)0)},   2820       (TIFFFieldArray *)((void *)0)},
2821         {(uint32 )34855, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,   2821         {(uint32 )34855, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,
2822       (TIFFSetGetFieldType )30, (TIFFSetGetFieldType )0, (unsigned short)65,   2822       (TIFFSetGetFieldType )30, (TIFFSetGetFieldType )0, (unsigned short)65,
2823       (unsigned char)1, (unsigned char)1, (char *)"ISOSpeedRatings",   2823       (unsigned char)1, (unsigned char)1, (char *)"ISOSpeedRatings",
2824       (TIFFFieldArray *)((void *)0)},   2824       (TIFFFieldArray *)((void *)0)},
2825         {(uint32 )34856, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,   2825         {(uint32 )34856, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,
2826       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2826       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2827       (unsigned char)1, (unsigned char)1,   2827       (unsigned char)1, (unsigned char)1,
2828       (char *)"OptoelectricConversionFactor", (TIFFFieldArray *)((void *)0)},   2828       (char *)"OptoelectricConversionFactor", (TIFFFieldArray *)((void *)0)},
2829         {(uint32 )36864, (short)4, (short)4, (TIFFDataType )7, (uint32 )0,   2829         {(uint32 )36864, (short)4, (short)4, (TIFFDataType )7, (uint32 )0,
2830       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,   2830       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,
2831       (unsigned char)1, (unsigned char)0, (char *)"ExifVersion",   2831       (unsigned char)1, (unsigned char)0, (char *)"ExifVersion",
2832       (TIFFFieldArray *)((void *)0)},   2832       (TIFFFieldArray *)((void *)0)},
2833         {(uint32 )36867, (short)20, (short)20, (TIFFDataType )2, (uint32 )0,   2833         {(uint32 )36867, (short)20, (short)20, (TIFFDataType )2, (uint32 )0,
2834       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2834       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2835       (unsigned char)1, (unsigned char)0, (char *)"DateTimeOriginal",   2835       (unsigned char)1, (unsigned char)0, (char *)"DateTimeOriginal",
2836       (TIFFFieldArray *)((void *)0)},   2836       (TIFFFieldArray *)((void *)0)},
2837         {(uint32 )36868, (short)20, (short)20, (TIFFDataType )2, (uint32 )0,   2837         {(uint32 )36868, (short)20, (short)20, (TIFFDataType )2, (uint32 )0,
2838       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2838       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2839       (unsigned char)1, (unsigned char)0, (char *)"DateTimeDigitized",   2839       (unsigned char)1, (unsigned char)0, (char *)"DateTimeDigitized",
2840       (TIFFFieldArray *)((void *)0)},   2840       (TIFFFieldArray *)((void *)0)},
2841         {(uint32 )37121, (short)4, (short)4, (TIFFDataType )7, (uint32 )0,   2841         {(uint32 )37121, (short)4, (short)4, (TIFFDataType )7, (uint32 )0,
2842       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,   2842       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,
2843       (unsigned char)1, (unsigned char)0, (char *)"ComponentsConfiguration",   2843       (unsigned char)1, (unsigned char)0, (char *)"ComponentsConfiguration",
2844       (TIFFFieldArray *)((void *)0)},   2844       (TIFFFieldArray *)((void *)0)},
2845         {(uint32 )37122, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2845         {(uint32 )37122, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2846       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2846       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2847       (unsigned char)1, (unsigned char)0, (char *)"CompressedBitsPerPixel",   2847       (unsigned char)1, (unsigned char)0, (char *)"CompressedBitsPerPixel",
2848       (TIFFFieldArray *)((void *)0)},   2848       (TIFFFieldArray *)((void *)0)},
2849         {(uint32 )37377, (short)1, (short)1, (TIFFDataType )10, (uint32 )0,   2849         {(uint32 )37377, (short)1, (short)1, (TIFFDataType )10, (uint32 )0,
2850       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2850       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2851       (unsigned char)1, (unsigned char)0, (char *)"ShutterSpeedValue",   2851       (unsigned char)1, (unsigned char)0, (char *)"ShutterSpeedValue",
2852       (TIFFFieldArray *)((void *)0)},   2852       (TIFFFieldArray *)((void *)0)},
2853         {(uint32 )37378, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2853         {(uint32 )37378, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2854       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2854       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2855       (unsigned char)1, (unsigned char)0, (char *)"ApertureValue",   2855       (unsigned char)1, (unsigned char)0, (char *)"ApertureValue",
2856       (TIFFFieldArray *)((void *)0)},   2856       (TIFFFieldArray *)((void *)0)},
2857         {(uint32 )37379, (short)1, (short)1, (TIFFDataType )10, (uint32 )0,   2857         {(uint32 )37379, (short)1, (short)1, (TIFFDataType )10, (uint32 )0,
2858       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2858       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2859       (unsigned char)1, (unsigned char)0, (char *)"BrightnessValue",   2859       (unsigned char)1, (unsigned char)0, (char *)"BrightnessValue",
2860       (TIFFFieldArray *)((void *)0)},   2860       (TIFFFieldArray *)((void *)0)},
2861         {(uint32 )37380, (short)1, (short)1, (TIFFDataType )10, (uint32 )0,   2861         {(uint32 )37380, (short)1, (short)1, (TIFFDataType )10, (uint32 )0,
2862       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2862       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2863       (unsigned char)1, (unsigned char)0, (char *)"ExposureBiasValue",   2863       (unsigned char)1, (unsigned char)0, (char *)"ExposureBiasValue",
2864       (TIFFFieldArray *)((void *)0)},   2864       (TIFFFieldArray *)((void *)0)},
2865         {(uint32 )37381, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2865         {(uint32 )37381, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2866       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2866       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2867       (unsigned char)1, (unsigned char)0, (char *)"MaxApertureValue",   2867       (unsigned char)1, (unsigned char)0, (char *)"MaxApertureValue",
2868       (TIFFFieldArray *)((void *)0)},   2868       (TIFFFieldArray *)((void *)0)},
2869         {(uint32 )37382, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2869         {(uint32 )37382, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2870       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2870       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2871       (unsigned char)1, (unsigned char)0, (char *)"SubjectDistance",   2871       (unsigned char)1, (unsigned char)0, (char *)"SubjectDistance",
2872       (TIFFFieldArray *)((void *)0)},   2872       (TIFFFieldArray *)((void *)0)},
2873         {(uint32 )37383, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2873         {(uint32 )37383, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2874       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2874       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2875       (unsigned char)1, (unsigned char)0, (char *)"MeteringMode",   2875       (unsigned char)1, (unsigned char)0, (char *)"MeteringMode",
2876       (TIFFFieldArray *)((void *)0)},   2876       (TIFFFieldArray *)((void *)0)},
2877         {(uint32 )37384, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2877         {(uint32 )37384, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2878       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2878       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2879       (unsigned char)1, (unsigned char)0, (char *)"LightSource",   2879       (unsigned char)1, (unsigned char)0, (char *)"LightSource",
2880       (TIFFFieldArray *)((void *)0)},   2880       (TIFFFieldArray *)((void *)0)},
2881         {(uint32 )37385, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2881         {(uint32 )37385, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2882       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2882       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2883       (unsigned char)1, (unsigned char)0, (char *)"Flash",   2883       (unsigned char)1, (unsigned char)0, (char *)"Flash",
2884       (TIFFFieldArray *)((void *)0)},   2884       (TIFFFieldArray *)((void *)0)},
2885         {(uint32 )37386, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2885         {(uint32 )37386, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2886       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2886       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2887       (unsigned char)1, (unsigned char)0, (char *)"FocalLength",   2887       (unsigned char)1, (unsigned char)0, (char *)"FocalLength",
2888       (TIFFFieldArray *)((void *)0)},   2888       (TIFFFieldArray *)((void *)0)},
2889         {(uint32 )37396, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,   2889         {(uint32 )37396, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,
2890       (TIFFSetGetFieldType )30, (TIFFSetGetFieldType )0, (unsigned short)65,   2890       (TIFFSetGetFieldType )30, (TIFFSetGetFieldType )0, (unsigned short)65,
2891       (unsigned char)1, (unsigned char)1, (char *)"SubjectArea",   2891       (unsigned char)1, (unsigned char)1, (char *)"SubjectArea",
2892       (TIFFFieldArray *)((void *)0)},   2892       (TIFFFieldArray *)((void *)0)},
2893         {(uint32 )37500, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,   2893         {(uint32 )37500, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,
2894       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2894       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2895       (unsigned char)1, (unsigned char)1, (char *)"MakerNote",   2895       (unsigned char)1, (unsigned char)1, (char *)"MakerNote",
2896       (TIFFFieldArray *)((void *)0)},   2896       (TIFFFieldArray *)((void *)0)},
2897         {(uint32 )37510, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,   2897         {(uint32 )37510, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,
2898       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2898       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2899       (unsigned char)1, (unsigned char)1, (char *)"UserComment",   2899       (unsigned char)1, (unsigned char)1, (char *)"UserComment",
2900       (TIFFFieldArray *)((void *)0)},   2900       (TIFFFieldArray *)((void *)0)},
2901         {(uint32 )37520, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2901         {(uint32 )37520, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2902       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2902       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2903       (unsigned char)1, (unsigned char)0, (char *)"SubSecTime",   2903       (unsigned char)1, (unsigned char)0, (char *)"SubSecTime",
2904       (TIFFFieldArray *)((void *)0)},   2904       (TIFFFieldArray *)((void *)0)},
2905         {(uint32 )37521, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2905         {(uint32 )37521, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2906       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2906       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2907       (unsigned char)1, (unsigned char)0, (char *)"SubSecTimeOriginal",   2907       (unsigned char)1, (unsigned char)0, (char *)"SubSecTimeOriginal",
2908       (TIFFFieldArray *)((void *)0)},   2908       (TIFFFieldArray *)((void *)0)},
2909         {(uint32 )37522, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2909         {(uint32 )37522, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2910       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2910       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2911       (unsigned char)1, (unsigned char)0, (char *)"SubSecTimeDigitized",   2911       (unsigned char)1, (unsigned char)0, (char *)"SubSecTimeDigitized",
2912       (TIFFFieldArray *)((void *)0)},   2912       (TIFFFieldArray *)((void *)0)},
2913         {(uint32 )40960, (short)4, (short)4, (TIFFDataType )7, (uint32 )0,   2913         {(uint32 )40960, (short)4, (short)4, (TIFFDataType )7, (uint32 )0,
2914       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,   2914       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,
2915       (unsigned char)1, (unsigned char)0, (char *)"FlashpixVersion",   2915       (unsigned char)1, (unsigned char)0, (char *)"FlashpixVersion",
2916       (TIFFFieldArray *)((void *)0)},   2916       (TIFFFieldArray *)((void *)0)},
2917         {(uint32 )40961, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2917         {(uint32 )40961, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2918       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2918       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2919       (unsigned char)1, (unsigned char)0, (char *)"ColorSpace",   2919       (unsigned char)1, (unsigned char)0, (char *)"ColorSpace",
2920       (TIFFFieldArray *)((void *)0)},   2920       (TIFFFieldArray *)((void *)0)},
2921         {(uint32 )40962, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2921         {(uint32 )40962, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2922       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)65,   2922       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)65,
2923       (unsigned char)1, (unsigned char)0, (char *)"PixelXDimension",   2923       (unsigned char)1, (unsigned char)0, (char *)"PixelXDimension",
2924       (TIFFFieldArray *)((void *)0)},   2924       (TIFFFieldArray *)((void *)0)},
2925         {(uint32 )40963, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2925         {(uint32 )40963, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2926       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)65,   2926       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)65,
2927       (unsigned char)1, (unsigned char)0, (char *)"PixelYDimension",   2927       (unsigned char)1, (unsigned char)0, (char *)"PixelYDimension",
2928       (TIFFFieldArray *)((void *)0)},   2928       (TIFFFieldArray *)((void *)0)},
2929         {(uint32 )40964, (short)13, (short)13, (TIFFDataType )2, (uint32 )0,   2929         {(uint32 )40964, (short)13, (short)13, (TIFFDataType )2, (uint32 )0,
2930       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2930       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2931       (unsigned char)1, (unsigned char)0, (char *)"RelatedSoundFile",   2931       (unsigned char)1, (unsigned char)0, (char *)"RelatedSoundFile",
2932       (TIFFFieldArray *)((void *)0)},   2932       (TIFFFieldArray *)((void *)0)},
2933         {(uint32 )41483, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2933         {(uint32 )41483, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2934       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2934       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2935       (unsigned char)1, (unsigned char)0, (char *)"FlashEnergy",   2935       (unsigned char)1, (unsigned char)0, (char *)"FlashEnergy",
2936       (TIFFFieldArray *)((void *)0)},   2936       (TIFFFieldArray *)((void *)0)},
2937         {(uint32 )41484, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,   2937         {(uint32 )41484, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,
2938       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2938       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2939       (unsigned char)1, (unsigned char)1, (char *)"SpatialFrequencyResponse",   2939       (unsigned char)1, (unsigned char)1, (char *)"SpatialFrequencyResponse",
2940       (TIFFFieldArray *)((void *)0)},   2940       (TIFFFieldArray *)((void *)0)},
2941         {(uint32 )41486, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2941         {(uint32 )41486, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2942       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2942       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2943       (unsigned char)1, (unsigned char)0, (char *)"FocalPlaneXResolution",   2943       (unsigned char)1, (unsigned char)0, (char *)"FocalPlaneXResolution",
2944       (TIFFFieldArray *)((void *)0)},   2944       (TIFFFieldArray *)((void *)0)},
2945         {(uint32 )41487, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2945         {(uint32 )41487, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2946       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2946       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2947       (unsigned char)1, (unsigned char)0, (char *)"FocalPlaneYResolution",   2947       (unsigned char)1, (unsigned char)0, (char *)"FocalPlaneYResolution",
2948       (TIFFFieldArray *)((void *)0)},   2948       (TIFFFieldArray *)((void *)0)},
2949         {(uint32 )41488, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2949         {(uint32 )41488, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2950       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2950       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2951       (unsigned char)1, (unsigned char)0, (char *)"FocalPlaneResolutionUnit",   2951       (unsigned char)1, (unsigned char)0, (char *)"FocalPlaneResolutionUnit",
2952       (TIFFFieldArray *)((void *)0)},   2952       (TIFFFieldArray *)((void *)0)},
2953         {(uint32 )41492, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,   2953         {(uint32 )41492, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,
2954       (TIFFSetGetFieldType )18, (TIFFSetGetFieldType )0, (unsigned short)65,   2954       (TIFFSetGetFieldType )18, (TIFFSetGetFieldType )0, (unsigned short)65,
2955       (unsigned char)1, (unsigned char)0, (char *)"SubjectLocation",   2955       (unsigned char)1, (unsigned char)0, (char *)"SubjectLocation",
2956       (TIFFFieldArray *)((void *)0)},   2956       (TIFFFieldArray *)((void *)0)},
2957         {(uint32 )41493, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2957         {(uint32 )41493, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2958       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2958       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2959       (unsigned char)1, (unsigned char)0, (char *)"ExposureIndex",   2959       (unsigned char)1, (unsigned char)0, (char *)"ExposureIndex",
2960       (TIFFFieldArray *)((void *)0)},   2960       (TIFFFieldArray *)((void *)0)},
2961         {(uint32 )41495, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2961         {(uint32 )41495, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2962       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2962       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2963       (unsigned char)1, (unsigned char)0, (char *)"SensingMethod",   2963       (unsigned char)1, (unsigned char)0, (char *)"SensingMethod",
2964       (TIFFFieldArray *)((void *)0)},   2964       (TIFFFieldArray *)((void *)0)},
2965         {(uint32 )41728, (short)1, (short)1, (TIFFDataType )7, (uint32 )0,   2965         {(uint32 )41728, (short)1, (short)1, (TIFFDataType )7, (uint32 )0,
2966       (TIFFSetGetFieldType )2, (TIFFSetGetFieldType )0, (unsigned short)65,   2966       (TIFFSetGetFieldType )2, (TIFFSetGetFieldType )0, (unsigned short)65,
2967       (unsigned char)1, (unsigned char)0, (char *)"FileSource",   2967       (unsigned char)1, (unsigned char)0, (char *)"FileSource",
2968       (TIFFFieldArray *)((void *)0)},   2968       (TIFFFieldArray *)((void *)0)},
2969         {(uint32 )41729, (short)1, (short)1, (TIFFDataType )7, (uint32 )0,   2969         {(uint32 )41729, (short)1, (short)1, (TIFFDataType )7, (uint32 )0,
2970       (TIFFSetGetFieldType )2, (TIFFSetGetFieldType )0, (unsigned short)65,   2970       (TIFFSetGetFieldType )2, (TIFFSetGetFieldType )0, (unsigned short)65,
2971       (unsigned char)1, (unsigned char)0, (char *)"SceneType",   2971       (unsigned char)1, (unsigned char)0, (char *)"SceneType",
2972       (TIFFFieldArray *)((void *)0)},   2972       (TIFFFieldArray *)((void *)0)},
2973         {(uint32 )41730, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,   2973         {(uint32 )41730, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,
2974       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2974       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2975       (unsigned char)1, (unsigned char)1, (char *)"CFAPattern",   2975       (unsigned char)1, (unsigned char)1, (char *)"CFAPattern",
2976       (TIFFFieldArray *)((void *)0)},   2976       (TIFFFieldArray *)((void *)0)},
2977         {(uint32 )41985, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2977         {(uint32 )41985, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2978       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2978       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2979       (unsigned char)1, (unsigned char)0, (char *)"CustomRendered",   2979       (unsigned char)1, (unsigned char)0, (char *)"CustomRendered",
2980       (TIFFFieldArray *)((void *)0)},   2980       (TIFFFieldArray *)((void *)0)},
2981         {(uint32 )41986, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2981         {(uint32 )41986, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2982       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2982       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2983       (unsigned char)1, (unsigned char)0, (char *)"ExposureMode",   2983       (unsigned char)1, (unsigned char)0, (char *)"ExposureMode",
2984       (TIFFFieldArray *)((void *)0)},   2984       (TIFFFieldArray *)((void *)0)},
2985         {(uint32 )41987, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2985         {(uint32 )41987, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2986       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2986       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2987       (unsigned char)1, (unsigned char)0, (char *)"WhiteBalance",   2987       (unsigned char)1, (unsigned char)0, (char *)"WhiteBalance",
2988       (TIFFFieldArray *)((void *)0)},   2988       (TIFFFieldArray *)((void *)0)},
2989         {(uint32 )41988, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2989         {(uint32 )41988, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2990       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2990       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2991       (unsigned char)1, (unsigned char)0, (char *)"DigitalZoomRatio",   2991       (unsigned char)1, (unsigned char)0, (char *)"DigitalZoomRatio",
2992       (TIFFFieldArray *)((void *)0)},   2992       (TIFFFieldArray *)((void *)0)},
2993         {(uint32 )41989, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2993         {(uint32 )41989, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2994       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2994       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2995       (unsigned char)1, (unsigned char)0, (char *)"FocalLengthIn35mmFilm",   2995       (unsigned char)1, (unsigned char)0, (char *)"FocalLengthIn35mmFilm",
2996       (TIFFFieldArray *)((void *)0)},   2996       (TIFFFieldArray *)((void *)0)},
2997         {(uint32 )41990, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2997         {(uint32 )41990, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2998       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2998       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2999       (unsigned char)1, (unsigned char)0, (char *)"SceneCaptureType",   2999       (unsigned char)1, (unsigned char)0, (char *)"SceneCaptureType",
3000       (TIFFFieldArray *)((void *)0)},   3000       (TIFFFieldArray *)((void *)0)},
3001         {(uint32 )41991, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   3001         {(uint32 )41991, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
3002       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   3002       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
3003       (unsigned char)1, (unsigned char)0, (char *)"GainControl",   3003       (unsigned char)1, (unsigned char)0, (char *)"GainControl",
3004       (TIFFFieldArray *)((void *)0)},   3004       (TIFFFieldArray *)((void *)0)},
3005         {(uint32 )41992, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   3005         {(uint32 )41992, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
3006       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   3006       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
3007       (unsigned char)1, (unsigned char)0, (char *)"Contrast",   3007       (unsigned char)1, (unsigned char)0, (char *)"Contrast",
3008       (TIFFFieldArray *)((void *)0)},   3008       (TIFFFieldArray *)((void *)0)},
3009         {(uint32 )41993, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   3009         {(uint32 )41993, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
3010       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   3010       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
3011       (unsigned char)1, (unsigned char)0, (char *)"Saturation",   3011       (unsigned char)1, (unsigned char)0, (char *)"Saturation",
3012       (TIFFFieldArray *)((void *)0)},   3012       (TIFFFieldArray *)((void *)0)},
3013         {(uint32 )41994, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   3013         {(uint32 )41994, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
3014       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   3014       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
3015       (unsigned char)1, (unsigned char)0, (char *)"Sharpness",   3015       (unsigned char)1, (unsigned char)0, (char *)"Sharpness",
3016       (TIFFFieldArray *)((void *)0)},   3016       (TIFFFieldArray *)((void *)0)},
3017         {(uint32 )41995, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,   3017         {(uint32 )41995, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,
3018       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   3018       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
3019       (unsigned char)1, (unsigned char)1, (char *)"DeviceSettingDescription",   3019       (unsigned char)1, (unsigned char)1, (char *)"DeviceSettingDescription",
3020       (TIFFFieldArray *)((void *)0)},   3020       (TIFFFieldArray *)((void *)0)},
3021         {(uint32 )41996, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   3021         {(uint32 )41996, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
3022       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   3022       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
3023       (unsigned char)1, (unsigned char)0, (char *)"SubjectDistanceRange",   3023       (unsigned char)1, (unsigned char)0, (char *)"SubjectDistanceRange",
3024       (TIFFFieldArray *)((void *)0)},   3024       (TIFFFieldArray *)((void *)0)},
3025         {(uint32 )42016, (short)33, (short)33, (TIFFDataType )2, (uint32 )0,   3025         {(uint32 )42016, (short)33, (short)33, (TIFFDataType )2, (uint32 )0,
3026       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   3026       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
3027       (unsigned char)1, (unsigned char)0, (char *)"ImageUniqueID",   3027       (unsigned char)1, (unsigned char)0, (char *)"ImageUniqueID",
3028       (TIFFFieldArray *)((void *)0)}};   3028       (TIFFFieldArray *)((void *)0)}};
3029 static struct _TIFFFieldArray  const  tiffFieldArray  =    {(TIFFFieldArrayType )0, (uint32 )0,   3029 static struct _TIFFFieldArray  const  tiffFieldArray  =    {(TIFFFieldArrayType )0, (uint32 )0,
3030     sizeof(tiffFields) / sizeof(tiffFields[0]), (TIFFField *)(tiffFields)};   3030     sizeof(tiffFields) / sizeof(tiffFields[0]), (TIFFField *)(tiffFields)};
3031 static struct _TIFFFieldArray  const  exifFieldArray  =    {(TIFFFieldArrayType )1, (uint32 )0,   3031 static struct _TIFFFieldArray  const  exifFieldArray  =    {(TIFFFieldArrayType )1, (uint32 )0,
3032     sizeof(exifFields) / sizeof(exifFields[0]), (TIFFField *)(exifFields)};   3032     sizeof(exifFields) / sizeof(exifFields[0]), (TIFFField *)(exifFields)};
3033 TIFFFieldArray const   *_TIFFGetFields(void)   3033 TIFFFieldArray const   *_TIFFGetFields(void)
3034 {   3034 {
3035     3035  
3036     3036  
3037   {   3037   {
3038   return (& tiffFieldArray);   3038   return (& tiffFieldArray);
3039 }   3039 }
3040 }   3040 }
3041 TIFFFieldArray const   *_TIFFGetExifFields(void)   3041 TIFFFieldArray const   *_TIFFGetExifFields(void)
3042 {   3042 {
3043     3043  
3044     3044  
3045   {   3045   {
3046   return (& exifFieldArray);   3046   return (& exifFieldArray);
3047 }   3047 }
3048 }   3048 }
3049 void _TIFFSetupFields(TIFF *tif , TIFFFieldArray const   *fieldarray )   3049 void _TIFFSetupFields(TIFF *tif , TIFFFieldArray const   *fieldarray )
3050 {   3050 {
3051   uint32 i ;   3051   uint32 i ;
3052   TIFFField *fld ;   3052   TIFFField *fld ;
3053   size_t tmp ;   3053   size_t tmp ;
3054   size_t tmp___0 ;   3054   size_t tmp___0 ;
3055   size_t __s1_len ;   3055   size_t __s1_len ;
3056   size_t __s2_len ;   3056   size_t __s2_len ;
3057   int tmp___1 ;   3057   int tmp___1 ;
3058   int tmp___2 ;   3058   int tmp___2 ;
3059   int tmp___3 ;   3059   int tmp___3 ;
3060   unsigned char const   *__s2 ;   3060   unsigned char const   *__s2 ;
3061   register int __result ;   3061   register int __result ;
3062   int tmp___4 ;   3062   int tmp___4 ;
3063   unsigned char const   *__s1 ;   3063   unsigned char const   *__s1 ;
3064   register int __result___0 ;   3064   register int __result___0 ;
3065   int tmp___5 ;   3065   int tmp___5 ;
3066   int tmp___6 ;   3066   int tmp___6 ;
3067   int tmp___7 ;   3067   int tmp___7 ;
3068   int tmp___8 ;   3068   int tmp___8 ;
3069   int tmp___9 ;   3069   int tmp___9 ;
3070   size_t tmp___10 ;   3070   size_t tmp___10 ;
3071   size_t tmp___11 ;   3071   size_t tmp___11 ;
3072   int tmp___12 ;   3072   int tmp___12 ;
3073     3073  
3074   {   3074   {
3075   if (tif->tif_fields) { <> 3075   if (((tif->tif_fields && tif->tif_nfields > 0) && tif->tif_nfields > 0) && tif->tif_nfields > 0) {
3076     if (tif->tif_nfields > 0U) { = 3076     if (tif->tif_nfields > 0U) {
3077       i = (uint32 )0;   3077       i = (uint32 )0;
3078       while (i < tif->tif_nfields) {   3078       while (i < tif->tif_nfields) {
3079         fld = *(tif->tif_fields + i);   3079         fld = *(tif->tif_fields + i);
3080         if ((int )fld->field_bit == 65) {   3080         if ((int )fld->field_bit == 65) {
3081           if (0) {   3081           if (0) {
3082             if (0) {   3082             if (0) {
3083               __s1_len = strlen("Tag ");   3083               __s1_len = strlen("Tag ");
3084               __s2_len = strlen((char const   *)fld->field_name);   3084               __s2_len = strlen((char const   *)fld->field_name);
3085               if (! ((size_t )((void const   *)("Tag " + 1)) - (size_t )((void const   *)"Tag ") == 1U)) {   3085               if (! ((size_t )((void const   *)("Tag " + 1)) - (size_t )((void const   *)"Tag ") == 1U)) {
3086                 goto _L___0;   3086                 goto _L___0;
3087               } else   3087               } else
3088               if (__s1_len >= 4U) {   3088               if (__s1_len >= 4U) {
3089                 _L___0: /* CIL Label */   3089                 _L___0: /* CIL Label */
3090                 if (! ((size_t )((void const   *)(fld->field_name + 1)) - (size_t )((void const   *)fld->field_name) == 1U)) {   3090                 if (! ((size_t )((void const   *)(fld->field_name + 1)) - (size_t )((void const   *)fld->field_name) == 1U)) {
3091                   tmp___7 = 1;   3091                   tmp___7 = 1;
3092                 } else   3092                 } else
3093                 if (__s2_len >= 4U) {   3093                 if (__s2_len >= 4U) {
3094                   tmp___7 = 1;   3094                   tmp___7 = 1;
3095                 } else {   3095                 } else {
3096                   tmp___7 = 0;   3096                   tmp___7 = 0;
3097                 }   3097                 }
3098               } else {   3098               } else {
3099                 tmp___7 = 0;   3099                 tmp___7 = 0;
3100               }   3100               }
3101               if (tmp___7) {   3101               if (tmp___7) {
3102                 tmp___2 = __builtin_strcmp("Tag ",   3102                 tmp___2 = __builtin_strcmp("Tag ",
3103                                            (char const   *)fld->field_name);   3103                                            (char const   *)fld->field_name);
3104                 tmp___6 = tmp___2;   3104                 tmp___6 = tmp___2;
3105               } else {   3105               } else {
3106                 tmp___5 = __builtin_strcmp("Tag ",   3106                 tmp___5 = __builtin_strcmp("Tag ",
3107                                            (char const   *)fld->field_name);   3107                                            (char const   *)fld->field_name);
3108                 tmp___6 = tmp___5;   3108                 tmp___6 = tmp___5;
3109               }   3109               }
3110             } else {   3110             } else {
3111               tmp___5 = __builtin_strcmp("Tag ", (char const   *)fld->field_name);   3111               tmp___5 = __builtin_strcmp("Tag ", (char const   *)fld->field_name);
3112               tmp___6 = tmp___5;   3112               tmp___6 = tmp___5;
3113             }   3113             }
3114             tmp___9 = tmp___6;   3114             tmp___9 = tmp___6;
3115           } else {   3115           } else {
3116             tmp___8 = strncmp("Tag ", (char const   *)fld->field_name,   3116             tmp___8 = strncmp("Tag ", (char const   *)fld->field_name,
3117                               (size_t )4);   3117                               (size_t )4);
3118             tmp___9 = tmp___8;   3118             tmp___9 = tmp___8;
3119           }   3119           }
3120           if (tmp___9 == 0) {   3120           if (tmp___9 == 0) {
3121             _TIFFfree((void *)fld->field_name);   3121             _TIFFfree((void *)fld->field_name);
3122             _TIFFfree((void *)fld);   3122             _TIFFfree((void *)fld);
3123           } else {   3123           } else {
3124     3124  
3125           }   3125           }
3126         } else {   3126         } else {
3127     3127  
3128         }   3128         }
3129         i ++;   3129         i ++;
3130       }   3130       }
3131       _TIFFfree((void *)tif->tif_fields);   3131       _TIFFfree((void *)tif->tif_fields);
3132       tif->tif_fields = (TIFFField **)((void *)0);   3132       tif->tif_fields = (TIFFField **)((void *)0);
3133       tif->tif_nfields = (uint32 )0;   3133       tif->tif_nfields = (uint32 )0;
3134     } else {   3134     } else {
3135     3135  
3136     }   3136     }
3137   } else {   3137   } else {
3138     3138  
3139   }   3139   }
3140   tmp___12 = _TIFFMergeFields(tif, (TIFFField const   *)fieldarray->fields,   3140   tmp___12 = _TIFFMergeFields(tif, (TIFFField const   *)fieldarray->fields,
3141                               (uint32 )fieldarray->count);   3141                               (uint32 )fieldarray->count);
3142   if (tmp___12) {   3142   if (tmp___12) {
3143     3143  
3144   } else {   3144   } else {
3145     TIFFErrorExt(tif->tif_clientdata, "_TIFFSetupFields",   3145     TIFFErrorExt(tif->tif_clientdata, "_TIFFSetupFields",
3146                  "Setting up field info failed");   3146                  "Setting up field info failed");
3147   }   3147   }
3148   return;   3148   return;
3149 }   3149 }
3150 }   3150 }
3151 static int tagCompare(void const   *a , void const   *b )   3151 static int tagCompare(void const   *a , void const   *b )
3152 {   3152 {
3153   TIFFField const   *ta ;   3153   TIFFField const   *ta ;
3154   TIFFField const   *tb ;   3154   TIFFField const   *tb ;
3155   int tmp ;   3155   int tmp ;
3156     3156  
3157   {   3157   {
3158   ta = *((TIFFField const   **)a);   3158   ta = *((TIFFField const   **)a);
3159   tb = *((TIFFField const   **)b);   3159   tb = *((TIFFField const   **)b);
3160   if (ta->field_tag != tb->field_tag) {   3160   if (ta->field_tag != tb->field_tag) {
3161     return ((int )ta->field_tag - (int )tb->field_tag);   3161     return ((int )ta->field_tag - (int )tb->field_tag);
3162   } else {   3162   } else {
3163     if ((unsigned int const   )ta->field_type == 0U) {   3163     if ((unsigned int const   )ta->field_type == 0U) {
3164       tmp = 0;   3164       tmp = 0;
3165     } else {   3165     } else {
3166       tmp = (int )tb->field_type - (int )ta->field_type;   3166       tmp = (int )tb->field_type - (int )ta->field_type;
3167     }   3167     }
3168     return (tmp);   3168     return (tmp);
3169   }   3169   }
3170 }   3170 }
3171 }   3171 }
3172 static int tagNameCompare(void const   *a , void const   *b )   3172 static int tagNameCompare(void const   *a , void const   *b )
3173 {   3173 {
3174   TIFFField const   *ta ;   3174   TIFFField const   *ta ;
3175   TIFFField const   *tb ;   3175   TIFFField const   *tb ;
3176   int ret ;   3176   int ret ;
3177   size_t __s1_len ;   3177   size_t __s1_len ;
3178   size_t __s2_len ;   3178   size_t __s2_len ;
3179   int tmp ;   3179   int tmp ;
3180   int tmp___0 ;   3180   int tmp___0 ;
3181   int tmp___1 ;   3181   int tmp___1 ;
3182   unsigned char const   *__s2 ;   3182   unsigned char const   *__s2 ;
3183   register int __result ;   3183   register int __result ;
3184   int tmp___2 ;   3184   int tmp___2 ;
3185   unsigned char const   *__s1 ;   3185   unsigned char const   *__s1 ;
3186   register int __result___0 ;   3186   register int __result___0 ;
3187   int tmp___3 ;   3187   int tmp___3 ;
3188   int tmp___4 ;   3188   int tmp___4 ;
3189   int tmp___5 ;   3189   int tmp___5 ;
3190   int tmp___6 ;   3190   int tmp___6 ;
3191     3191  
3192   {   3192   {
3193   ta = *((TIFFField const   **)a);   3193   ta = *((TIFFField const   **)a);
3194   tb = *((TIFFField const   **)b);   3194   tb = *((TIFFField const   **)b);
3195   if (0) {   3195   if (0) {
3196     __s1_len = strlen((char const   *)ta->field_name);   3196     __s1_len = strlen((char const   *)ta->field_name);
3197     __s2_len = strlen((char const   *)tb->field_name);   3197     __s2_len = strlen((char const   *)tb->field_name);
3198     if (! ((size_t )((void const   *)(ta->field_name + 1)) - (size_t )((void const   *)ta->field_name) == 1U)) {   3198     if (! ((size_t )((void const   *)(ta->field_name + 1)) - (size_t )((void const   *)ta->field_name) == 1U)) {
3199       goto _L___0;   3199       goto _L___0;
3200     } else   3200     } else
3201     if (__s1_len >= 4U) {   3201     if (__s1_len >= 4U) {
3202       _L___0: /* CIL Label */   3202       _L___0: /* CIL Label */
3203       if (! ((size_t )((void const   *)(tb->field_name + 1)) - (size_t )((void const   *)tb->field_name) == 1U)) {   3203       if (! ((size_t )((void const   *)(tb->field_name + 1)) - (size_t )((void const   *)tb->field_name) == 1U)) {
3204         tmp___5 = 1;   3204         tmp___5 = 1;
3205       } else   3205       } else
3206       if (__s2_len >= 4U) {   3206       if (__s2_len >= 4U) {
3207         tmp___5 = 1;   3207         tmp___5 = 1;
3208       } else {   3208       } else {
3209         tmp___5 = 0;   3209         tmp___5 = 0;
3210       }   3210       }
3211     } else {   3211     } else {
3212       tmp___5 = 0;   3212       tmp___5 = 0;
3213     }   3213     }
3214     if (tmp___5) {   3214     if (tmp___5) {
3215       tmp___0 = __builtin_strcmp((char const   *)ta->field_name,   3215       tmp___0 = __builtin_strcmp((char const   *)ta->field_name,
3216                                  (char const   *)tb->field_name);   3216                                  (char const   *)tb->field_name);
3217       tmp___4 = tmp___0;   3217       tmp___4 = tmp___0;
3218     } else {   3218     } else {
3219       tmp___3 = __builtin_strcmp((char const   *)ta->field_name,   3219       tmp___3 = __builtin_strcmp((char const   *)ta->field_name,
3220                                  (char const   *)tb->field_name);   3220                                  (char const   *)tb->field_name);
3221       tmp___4 = tmp___3;   3221       tmp___4 = tmp___3;
3222     }   3222     }
3223   } else {   3223   } else {
3224     tmp___3 = __builtin_strcmp((char const   *)ta->field_name,   3224     tmp___3 = __builtin_strcmp((char const   *)ta->field_name,
3225                                (char const   *)tb->field_name);   3225                                (char const   *)tb->field_name);
3226     tmp___4 = tmp___3;   3226     tmp___4 = tmp___3;
3227   }   3227   }
3228   ret = tmp___4;   3228   ret = tmp___4;
3229   if (ret) {   3229   if (ret) {
3230     return (ret);   3230     return (ret);
3231   } else {   3231   } else {
3232     if ((unsigned int const   )ta->field_type == 0U) {   3232     if ((unsigned int const   )ta->field_type == 0U) {
3233       tmp___6 = 0;   3233       tmp___6 = 0;
3234     } else {   3234     } else {
3235       tmp___6 = (int )tb->field_type - (int )ta->field_type;   3235       tmp___6 = (int )tb->field_type - (int )ta->field_type;
3236     }   3236     }
3237     return (tmp___6);   3237     return (tmp___6);
3238   }   3238   }
3239 }   3239 }
3240 }   3240 }
3241 int _TIFFMergeFields(TIFF *tif , TIFFField const   *info , uint32 n )   3241 int _TIFFMergeFields(TIFF *tif , TIFFField const   *info , uint32 n )
3242 {   3242 {
3243   char module[17] ;   3243   char module[17] ;
3244   char reason[17] ;   3244   char reason[17] ;
3245   TIFFField **tp ;   3245   TIFFField **tp ;
3246   uint32 i ;   3246   uint32 i ;
3247   TIFFField const   *fip ;   3247   TIFFField const   *fip ;
3248   TIFFField const   *tmp ;   3248   TIFFField const   *tmp ;
3249   void *tmp___0 ;   3249   void *tmp___0 ;
3250   void *tmp___1 ;   3250   void *tmp___1 ;
3251   TIFFField **tmp___2 ;   3251   TIFFField **tmp___2 ;
3252   uint32 tmp___3 ;   3252   uint32 tmp___3 ;
3253     3253  
3254   {   3254   {
3255   module[0] = (char )'_';   3255   module[0] = (char )'_';
3256   module[1] = (char )'T';   3256   module[1] = (char )'T';
3257   module[2] = (char )'I';   3257   module[2] = (char )'I';
3258   module[3] = (char )'F';   3258   module[3] = (char )'F';
3259   module[4] = (char )'F';   3259   module[4] = (char )'F';
3260   module[5] = (char )'M';   3260   module[5] = (char )'M';
3261   module[6] = (char )'e';   3261   module[6] = (char )'e';
3262   module[7] = (char )'r';   3262   module[7] = (char )'r';
3263   module[8] = (char )'g';   3263   module[8] = (char )'g';
3264   module[9] = (char )'e';   3264   module[9] = (char )'e';
3265   module[10] = (char )'F';   3265   module[10] = (char )'F';
3266   module[11] = (char )'i';   3266   module[11] = (char )'i';
3267   module[12] = (char )'e';   3267   module[12] = (char )'e';
3268   module[13] = (char )'l';   3268   module[13] = (char )'l';
3269   module[14] = (char )'d';   3269   module[14] = (char )'d';
3270   module[15] = (char )'s';   3270   module[15] = (char )'s';
3271   module[16] = (char )'\000';   3271   module[16] = (char )'\000';
3272   reason[0] = (char )'f';   3272   reason[0] = (char )'f';
3273   reason[1] = (char )'o';   3273   reason[1] = (char )'o';
3274   reason[2] = (char )'r';   3274   reason[2] = (char )'r';
3275   reason[3] = (char )' ';   3275   reason[3] = (char )' ';
3276   reason[4] = (char )'f';   3276   reason[4] = (char )'f';
3277   reason[5] = (char )'i';   3277   reason[5] = (char )'i';
3278   reason[6] = (char )'e';   3278   reason[6] = (char )'e';
3279   reason[7] = (char )'l';   3279   reason[7] = (char )'l';
3280   reason[8] = (char )'d';   3280   reason[8] = (char )'d';
3281   reason[9] = (char )'s';   3281   reason[9] = (char )'s';
3282   reason[10] = (char )' ';   3282   reason[10] = (char )' ';
3283   reason[11] = (char )'a';   3283   reason[11] = (char )'a';
3284   reason[12] = (char )'r';   3284   reason[12] = (char )'r';
3285   reason[13] = (char )'r';   3285   reason[13] = (char )'r';
3286   reason[14] = (char )'a';   3286   reason[14] = (char )'a';
3287   reason[15] = (char )'y';   3287   reason[15] = (char )'y';
3288   reason[16] = (char )'\000';   3288   reason[16] = (char )'\000';
3289   i = (uint32 )0;   3289   i = (uint32 )0;
3290   while (i < n) {   3290   while (i < n) {
3291     tmp = TIFFFindField(tif, (uint32 )(info + i)->field_tag, (TIFFDataType )0);   3291     tmp = TIFFFindField(tif, (uint32 )(info + i)->field_tag, (TIFFDataType )0);
3292     fip = tmp;   3292     fip = tmp;
3293     if (fip) {   3293     if (fip) {
3294       TIFFErrorExt(tif->tif_clientdata, (char const   *)(module),   3294       TIFFErrorExt(tif->tif_clientdata, (char const   *)(module),
3295                    "Field with tag %lu is already registered as \"%s\"",   3295                    "Field with tag %lu is already registered as \"%s\"",
3296                    (unsigned int )(info + i)->field_tag, fip->field_name);   3296                    (unsigned int )(info + i)->field_tag, fip->field_name);
3297       return (0);   3297       return (0);
3298     } else {   3298     } else {
3299     3299  
3300     }   3300     }
3301     i ++;   3301     i ++;
3302   }   3302   }
3303   tif->tif_foundfield = (TIFFField const   *)((void *)0);   3303   tif->tif_foundfield = (TIFFField const   *)((void *)0);
3304   if (tif->tif_fields) { <> 3304   if ((tif->tif_fields && tif->tif_nfields > 0) && tif->tif_nfields > 0) {
3305     if (tif->tif_nfields > 0U) { = 3305     if (tif->tif_nfields > 0U) {
3306       tmp___0 = _TIFFCheckRealloc(tif, (void *)tif->tif_fields,   3306       tmp___0 = _TIFFCheckRealloc(tif, (void *)tif->tif_fields,
3307                                   (tmsize_t )(tif->tif_nfields + n),   3307                                   (tmsize_t )(tif->tif_nfields + n),
3308                                   (tmsize_t )sizeof(TIFFField *),   3308                                   (tmsize_t )sizeof(TIFFField *),
3309                                   (char const   *)(reason));   3309                                   (char const   *)(reason));
3310       tif->tif_fields = (TIFFField **)tmp___0;   3310       tif->tif_fields = (TIFFField **)tmp___0;
3311     } else {   3311     } else {
3312       tmp___1 = _TIFFCheckMalloc(tif, (tmsize_t )n,   3312       tmp___1 = _TIFFCheckMalloc(tif, (tmsize_t )n,
3313                                  (tmsize_t )sizeof(TIFFField *),   3313                                  (tmsize_t )sizeof(TIFFField *),
3314                                  (char const   *)(reason));   3314                                  (char const   *)(reason));
3315       tif->tif_fields = (TIFFField **)tmp___1;   3315       tif->tif_fields = (TIFFField **)tmp___1;
3316     }   3316     }
3317   } else {   3317   } else {
3318     tmp___1 = _TIFFCheckMalloc(tif, (tmsize_t )n,   3318     tmp___1 = _TIFFCheckMalloc(tif, (tmsize_t )n,
3319                                (tmsize_t )sizeof(TIFFField *),   3319                                (tmsize_t )sizeof(TIFFField *),
3320                                (char const   *)(reason));   3320                                (char const   *)(reason));
3321     tif->tif_fields = (TIFFField **)tmp___1;   3321     tif->tif_fields = (TIFFField **)tmp___1;
3322   }   3322   }
3323   if (! tif->tif_fields) {   3323   if (! tif->tif_fields) {
3324     TIFFErrorExt(tif->tif_clientdata, (char const   *)(module),   3324     TIFFErrorExt(tif->tif_clientdata, (char const   *)(module),
3325                  "Failed to allocate fields array");   3325                  "Failed to allocate fields array");
3326     return (0);   3326     return (0);
3327   } else {   3327   } else {
3328     3328  
3329   }   3329   }
3330   tp = tif->tif_fields + tif->tif_nfields;   3330   tp = tif->tif_fields + tif->tif_nfields;
3331   i = (uint32 )0;   3331   i = (uint32 )0;
3332   while (i < n) {   3332   while (i < n) {
3333     tmp___2 = tp;   3333     tmp___2 = tp;
3334     tp ++;   3334     tp ++;
3335     *tmp___2 = (TIFFField *)(info + i);   3335     *tmp___2 = (TIFFField *)(info + i);
3336     i ++;   3336     i ++;
3337   }   3337   }
3338   tmp___3 = tif->tif_nfields + n;   3338   tmp___3 = tif->tif_nfields + n;
3339   tif->tif_nfields = tmp___3;   3339   tif->tif_nfields = tmp___3;
3340   qsort((void *)tif->tif_fields, tmp___3, sizeof(TIFFField *), & tagCompare);   3340   qsort((void *)tif->tif_fields, tmp___3, sizeof(TIFFField *), & tagCompare);
3341   return ((int )n);   3341   return ((int )n);
3342 }   3342 }
3343 }   3343 }
3344 void _TIFFPrintFieldInfo(TIFF *tif , FILE *fd )   3344 void _TIFFPrintFieldInfo(TIFF *tif , FILE *fd )
3345 {   3345 {
3346   uint32 i ;   3346   uint32 i ;
3347   TIFFField const   *fip ;   3347   TIFFField const   *fip ;
3348   char const   *tmp ;   3348   char const   *tmp ;
3349   char const   *tmp___0 ;   3349   char const   *tmp___0 ;
3350     3350  
3351   {   3351   {
3352   fprintf((FILE */* __restrict  */)fd,   3352   fprintf((FILE */* __restrict  */)fd,
3353           (char const   */* __restrict  */)"%s: \n", tif->tif_name);   3353           (char const   */* __restrict  */)"%s: \n", tif->tif_name);
3354   i = (uint32 )0;   3354   i = (uint32 )0;
3355   while (i < tif->tif_nfields) {   3355   while (i < tif->tif_nfields) {
3356     fip = (TIFFField const   *)*(tif->tif_fields + i);   3356     fip = (TIFFField const   *)*(tif->tif_fields + i);
3357     if (fip->field_passcount) {   3357     if (fip->field_passcount) {
3358       tmp = "TRUE";   3358       tmp = "TRUE";
3359     } else {   3359     } else {
3360       tmp = "FALSE";   3360       tmp = "FALSE";
3361     }   3361     }
3362     if (fip->field_oktochange) {   3362     if (fip->field_oktochange) {
3363       tmp___0 = "TRUE";   3363       tmp___0 = "TRUE";
3364     } else {   3364     } else {
3365       tmp___0 = "FALSE";   3365       tmp___0 = "FALSE";
3366     }   3366     }
3367     fprintf((FILE */* __restrict  */)fd,   3367     fprintf((FILE */* __restrict  */)fd,
3368             (char const   */* __restrict  */)"field[%2d] %5lu, %2d, %2d, %d, %2d, %5s, %5s, %s\n",   3368             (char const   */* __restrict  */)"field[%2d] %5lu, %2d, %2d, %d, %2d, %5s, %5s, %s\n",
3369             (int )i, (unsigned long )fip->field_tag,   3369             (int )i, (unsigned long )fip->field_tag,
3370             (int const   )fip->field_readcount,   3370             (int const   )fip->field_readcount,
3371             (int const   )fip->field_writecount,   3371             (int const   )fip->field_writecount,
3372             (unsigned int const   )fip->field_type,   3372             (unsigned int const   )fip->field_type,
3373             (int const   )fip->field_bit, tmp___0, tmp, fip->field_name);   3373             (int const   )fip->field_bit, tmp___0, tmp, fip->field_name);
3374     i ++;   3374     i ++;
3375   }   3375   }
3376   return;   3376   return;
3377 }   3377 }
3378 }   3378 }
3379 int TIFFDataWidth(TIFFDataType type )   3379 int TIFFDataWidth(TIFFDataType type )
3380 {   3380 {
3381     3381  
3382     3382  
3383   {   3383   {
3384   switch ((unsigned int )type) {   3384   switch ((unsigned int )type) {
3385   case 7U:   3385   case 7U:
3386   case 6U:   3386   case 6U:
3387   case 2U:   3387   case 2U:
3388   case 1U:   3388   case 1U:
3389   case 0U:   3389   case 0U:
3390   return (1);   3390   return (1);
3391   case 8U:   3391   case 8U:
3392   case 3U:   3392   case 3U:
3393   return (2);   3393   return (2);
3394   case 13U:   3394   case 13U:
3395   case 11U:   3395   case 11U:
3396   case 9U:   3396   case 9U:
3397   case 4U:   3397   case 4U:
3398   return (4);   3398   return (4);
3399   case 18U:   3399   case 18U:
3400   case 17U:   3400   case 17U:
3401   case 16U:   3401   case 16U:
3402   case 12U:   3402   case 12U:
3403   case 10U:   3403   case 10U:
3404   case 5U:   3404   case 5U:
3405   return (8);   3405   return (8);
3406   default:   3406   default:
3407   return (0);   3407   return (0);
3408   }   3408   }
3409 }   3409 }
3410 }   3410 }
3411 int _TIFFDataSize(TIFFDataType type )   3411 int _TIFFDataSize(TIFFDataType type )
3412 {   3412 {
3413     3413  
3414     3414  
3415   {   3415   {
3416   switch ((unsigned int )type) {   3416   switch ((unsigned int )type) {
3417   case 7U:   3417   case 7U:
3418   case 2U:   3418   case 2U:
3419   case 6U:   3419   case 6U:
3420   case 1U:   3420   case 1U:
3421   return (1);   3421   return (1);
3422   case 8U:   3422   case 8U:
3423   case 3U:   3423   case 3U:
3424   return (2);   3424   return (2);
3425   case 10U:   3425   case 10U:
3426   case 5U:   3426   case 5U:
3427   case 13U:   3427   case 13U:
3428   case 11U:   3428   case 11U:
3429   case 9U:   3429   case 9U:
3430   case 4U:   3430   case 4U:
3431   return (4);   3431   return (4);
3432   case 18U:   3432   case 18U:
3433   case 17U:   3433   case 17U:
3434   case 16U:   3434   case 16U:
3435   case 12U:   3435   case 12U:
3436   return (8);   3436   return (8);
3437   default:   3437   default:
3438   return (0);   3438   return (0);
3439   }   3439   }
3440 }   3440 }
3441 }   3441 }
3442 TIFFField const   *TIFFFindField(TIFF *tif , uint32 tag , TIFFDataType dt )   3442 TIFFField const   *TIFFFindField(TIFF *tif , uint32 tag , TIFFDataType dt )
3443 {   3443 {
3444   TIFFField key ;   3444   TIFFField key ;
3445   TIFFField *pkey ;   3445   TIFFField *pkey ;
3446   TIFFField const   **ret ;   3446   TIFFField const   **ret ;
3447   void *tmp ;   3447   void *tmp ;
3448   TIFFField const   *tmp___0 ;   3448   TIFFField const   *tmp___0 ;
3449     3449  
3450   {   3450   {
3451   key.field_tag = (uint32 )0;   3451   key.field_tag = (uint32 )0;
3452   key.field_readcount = (short)0;   3452   key.field_readcount = (short)0;
3453   key.field_writecount = (short)0;   3453   key.field_writecount = (short)0;
3454   key.field_type = (TIFFDataType )0;   3454   key.field_type = (TIFFDataType )0;
3455   key.reserved = (uint32 )0;   3455   key.reserved = (uint32 )0;
3456   key.set_field_type = (TIFFSetGetFieldType )0;   3456   key.set_field_type = (TIFFSetGetFieldType )0;
3457   key.get_field_type = (TIFFSetGetFieldType )0;   3457   key.get_field_type = (TIFFSetGetFieldType )0;
3458   key.field_bit = (unsigned short)0;   3458   key.field_bit = (unsigned short)0;
3459   key.field_oktochange = (unsigned char)0;   3459   key.field_oktochange = (unsigned char)0;
3460   key.field_passcount = (unsigned char)0;   3460   key.field_passcount = (unsigned char)0;
3461   key.field_name = (char *)((void *)0);   3461   key.field_name = (char *)((void *)0);
3462   key.field_subfields = (TIFFFieldArray *)((void *)0);   3462   key.field_subfields = (TIFFFieldArray *)((void *)0);
3463   pkey = & key;   3463   pkey = & key;
3464   if (tif->tif_foundfield) {   3464   if (tif->tif_foundfield) {
3465     if ((tif->tif_foundfield)->field_tag == (uint32 const   )tag) {   3465     if ((tif->tif_foundfield)->field_tag == (uint32 const   )tag) {
3466       if ((unsigned int )dt == 0U) {   3466       if ((unsigned int )dt == 0U) {
3467         return (tif->tif_foundfield);   3467         return (tif->tif_foundfield);
3468       } else   3468       } else
3469       if ((unsigned int )dt == (unsigned int )(tif->tif_foundfield)->field_type) {   3469       if ((unsigned int )dt == (unsigned int )(tif->tif_foundfield)->field_type) {
3470         return (tif->tif_foundfield);   3470         return (tif->tif_foundfield);
3471       } else {   3471       } else {
3472     3472  
3473       }   3473       }
3474     } else {   3474     } else {
3475     3475  
3476     }   3476     }
3477   } else {   3477   } else {
3478     3478  
3479   }   3479   }
3480   if (! tif->tif_fields) {   3480   if (! tif->tif_fields) {
3481     return ((TIFFField const   *)((void *)0));   3481     return ((TIFFField const   *)((void *)0));
3482   } else {   3482   } else {
3483     3483  
3484   }   3484   }
3485   key.field_tag = tag;   3485   key.field_tag = tag;
3486   key.field_type = dt;   3486   key.field_type = dt;
3487   tmp = bsearch((void const   *)(& pkey), (void const   *)tif->tif_fields,   3487   tmp = bsearch((void const   *)(& pkey), (void const   *)tif->tif_fields,
3488                 tif->tif_nfields, sizeof(TIFFField *), & tagCompare);   3488                 tif->tif_nfields, sizeof(TIFFField *), & tagCompare);
3489   ret = (TIFFField const   **)tmp;   3489   ret = (TIFFField const   **)tmp;
3490   if (ret) {   3490   if (ret) {
3491     tmp___0 = *ret;   3491     tmp___0 = *ret;
3492   } else {   3492   } else {
3493     tmp___0 = (TIFFField const   *)((void *)0);   3493     tmp___0 = (TIFFField const   *)((void *)0);
3494   }   3494   }
3495   tif->tif_foundfield = tmp___0;   3495   tif->tif_foundfield = tmp___0;
3496   return (tmp___0);   3496   return (tmp___0);
3497 }   3497 }
3498 }   3498 }
3499 TIFFField const   *_TIFFFindFieldByName(TIFF *tif , char const   *field_name ,   3499 TIFFField const   *_TIFFFindFieldByName(TIFF *tif , char const   *field_name ,
3500                                         TIFFDataType dt )   3500                                         TIFFDataType dt )
3501 {   3501 {
3502   TIFFField key ;   3502   TIFFField key ;
3503   TIFFField *pkey ;   3503   TIFFField *pkey ;
3504   TIFFField const   **ret ;   3504   TIFFField const   **ret ;
3505   size_t __s1_len ;   3505   size_t __s1_len ;
3506   size_t __s2_len ;   3506   size_t __s2_len ;
3507   int tmp ;   3507   int tmp ;
3508   int tmp___0 ;   3508   int tmp___0 ;
3509   int tmp___1 ;   3509   int tmp___1 ;
3510   unsigned char const   *__s2 ;   3510   unsigned char const   *__s2 ;
3511   register int __result ;   3511   register int __result ;
3512   int tmp___2 ;   3512   int tmp___2 ;
3513   unsigned char const   *__s1 ;   3513   unsigned char const   *__s1 ;
3514   register int __result___0 ;   3514   register int __result___0 ;
3515   int tmp___3 ;   3515   int tmp___3 ;
3516   int tmp___4 ;   3516   int tmp___4 ;
3517   int tmp___5 ;   3517   int tmp___5 ;
3518   void *tmp___6 ;   3518   void *tmp___6 ;
3519   TIFFField const   *tmp___7 ;   3519   TIFFField const   *tmp___7 ;
3520     3520  
3521   {   3521   {
3522   key.field_tag = (uint32 )0;   3522   key.field_tag = (uint32 )0;
3523   key.field_readcount = (short)0;   3523   key.field_readcount = (short)0;
3524   key.field_writecount = (short)0;   3524   key.field_writecount = (short)0;
3525   key.field_type = (TIFFDataType )0;   3525   key.field_type = (TIFFDataType )0;
3526   key.reserved = (uint32 )0;   3526   key.reserved = (uint32 )0;
3527   key.set_field_type = (TIFFSetGetFieldType )0;   3527   key.set_field_type = (TIFFSetGetFieldType )0;
3528   key.get_field_type = (TIFFSetGetFieldType )0;   3528   key.get_field_type = (TIFFSetGetFieldType )0;
3529   key.field_bit = (unsigned short)0;   3529   key.field_bit = (unsigned short)0;
3530   key.field_oktochange = (unsigned char)0;   3530   key.field_oktochange = (unsigned char)0;
3531   key.field_passcount = (unsigned char)0;   3531   key.field_passcount = (unsigned char)0;
3532   key.field_name = (char *)((void *)0);   3532   key.field_name = (char *)((void *)0);
3533   key.field_subfields = (TIFFFieldArray *)((void *)0);   3533   key.field_subfields = (TIFFFieldArray *)((void *)0);
3534   pkey = & key;   3534   pkey = & key;
3535   if (tif->tif_foundfield) {   3535   if (tif->tif_foundfield) {
3536     if (0) {   3536     if (0) {
3537       __s1_len = strlen((char const   *)(tif->tif_foundfield)->field_name);   3537       __s1_len = strlen((char const   *)(tif->tif_foundfield)->field_name);
3538       __s2_len = strlen(field_name);   3538       __s2_len = strlen(field_name);
3539       if (! ((size_t )((void const   *)((tif->tif_foundfield)->field_name + 1)) - (size_t )((void const   *)(tif->tif_foundfield)->field_name) == 1U)) {   3539       if (! ((size_t )((void const   *)((tif->tif_foundfield)->field_name + 1)) - (size_t )((void const   *)(tif->tif_foundfield)->field_name) == 1U)) {
3540         goto _L___0;   3540         goto _L___0;
3541       } else   3541       } else
3542       if (__s1_len >= 4U) {   3542       if (__s1_len >= 4U) {
3543         _L___0: /* CIL Label */   3543         _L___0: /* CIL Label */
3544         if (! ((size_t )((void const   *)(field_name + 1)) - (size_t )((void const   *)field_name) == 1U)) {   3544         if (! ((size_t )((void const   *)(field_name + 1)) - (size_t )((void const   *)field_name) == 1U)) {
3545           tmp___5 = 1;   3545           tmp___5 = 1;
3546         } else   3546         } else
3547         if (__s2_len >= 4U) {   3547         if (__s2_len >= 4U) {
3548           tmp___5 = 1;   3548           tmp___5 = 1;
3549         } else {   3549         } else {
3550           tmp___5 = 0;   3550           tmp___5 = 0;
3551         }   3551         }
3552       } else {   3552       } else {
3553         tmp___5 = 0;   3553         tmp___5 = 0;
3554       }   3554       }
3555       if (tmp___5) {   3555       if (tmp___5) {
3556         tmp___0 = __builtin_strcmp((char const   *)(tif->tif_foundfield)->field_name,   3556         tmp___0 = __builtin_strcmp((char const   *)(tif->tif_foundfield)->field_name,
3557                                    field_name);   3557                                    field_name);
3558         tmp___4 = tmp___0;   3558         tmp___4 = tmp___0;
3559       } else {   3559       } else {
3560         tmp___3 = __builtin_strcmp((char const   *)(tif->tif_foundfield)->field_name,   3560         tmp___3 = __builtin_strcmp((char const   *)(tif->tif_foundfield)->field_name,
3561                                    field_name);   3561                                    field_name);
3562         tmp___4 = tmp___3;   3562         tmp___4 = tmp___3;
3563       }   3563       }
3564     } else {   3564     } else {
3565       tmp___3 = __builtin_strcmp((char const   *)(tif->tif_foundfield)->field_name,   3565       tmp___3 = __builtin_strcmp((char const   *)(tif->tif_foundfield)->field_name,
3566                                  field_name);   3566                                  field_name);
3567       tmp___4 = tmp___3;   3567       tmp___4 = tmp___3;
3568     }   3568     }
3569     if (tmp___4 == 0) {   3569     if (tmp___4 == 0) {
3570       if ((unsigned int )dt == 0U) {   3570       if ((unsigned int )dt == 0U) {
3571         return (tif->tif_foundfield);   3571         return (tif->tif_foundfield);
3572       } else   3572       } else
3573       if ((unsigned int )dt == (unsigned int )(tif->tif_foundfield)->field_type) {   3573       if ((unsigned int )dt == (unsigned int )(tif->tif_foundfield)->field_type) {
3574         return (tif->tif_foundfield);   3574         return (tif->tif_foundfield);
3575       } else {   3575       } else {
3576     3576  
3577       }   3577       }
3578     } else {   3578     } else {
3579     3579  
3580     }   3580     }
3581   } else {   3581   } else {
3582     3582  
3583   }   3583   }
3584   if (! tif->tif_fields) {   3584   if (! tif->tif_fields) {
3585     return ((TIFFField const   *)((void *)0));   3585     return ((TIFFField const   *)((void *)0));
3586   } else {   3586   } else {
3587     3587  
3588   }   3588   }
3589   key.field_name = (char *)field_name;   3589   key.field_name = (char *)field_name;
3590   key.field_type = dt;   3590   key.field_type = dt;
3591   tmp___6 = lfind((void const   *)(& pkey), (void const   *)tif->tif_fields,   3591   tmp___6 = lfind((void const   *)(& pkey), (void const   *)tif->tif_fields,
3592                   & tif->tif_nfields, sizeof(TIFFField *), & tagNameCompare);   3592                   & tif->tif_nfields, sizeof(TIFFField *), & tagNameCompare);
3593   ret = (TIFFField const   **)tmp___6;   3593   ret = (TIFFField const   **)tmp___6;
3594   if (ret) {   3594   if (ret) {
3595     tmp___7 = *ret;   3595     tmp___7 = *ret;
3596   } else {   3596   } else {
3597     tmp___7 = (TIFFField const   *)((void *)0);   3597     tmp___7 = (TIFFField const   *)((void *)0);
3598   }   3598   }
3599   tif->tif_foundfield = tmp___7;   3599   tif->tif_foundfield = tmp___7;
3600   return (tmp___7);   3600   return (tmp___7);
3601 }   3601 }
3602 }   3602 }
3603 TIFFField const   *TIFFFieldWithTag(TIFF *tif , uint32 tag )   3603 TIFFField const   *TIFFFieldWithTag(TIFF *tif , uint32 tag )
3604 {   3604 {
3605   TIFFField const   *fip ;   3605   TIFFField const   *fip ;
3606   TIFFField const   *tmp ;   3606   TIFFField const   *tmp ;
3607     3607  
3608   {   3608   {
3609   tmp = TIFFFindField(tif, tag, (TIFFDataType )0);   3609   tmp = TIFFFindField(tif, tag, (TIFFDataType )0);
3610   fip = tmp;   3610   fip = tmp;
3611   if (! fip) {   3611   if (! fip) {
3612     TIFFErrorExt(tif->tif_clientdata, "TIFFFieldWithTag",   3612     TIFFErrorExt(tif->tif_clientdata, "TIFFFieldWithTag",
3613                  "Internal error, unknown tag 0x%x", tag);   3613                  "Internal error, unknown tag 0x%x", tag);
3614     if ((unsigned int )fip != (unsigned int )((void *)0)) {   3614     if ((unsigned int )fip != (unsigned int )((void *)0)) {
3615     3615  
3616     } else {   3616     } else {
3617       __assert_fail("fip != ((void *)0)", "tif_dirinfo.c", 524U,   3617       __assert_fail("fip != ((void *)0)", "tif_dirinfo.c", 524U,
3618                     "TIFFFieldWithTag");   3618                     "TIFFFieldWithTag");
3619     }   3619     }
3620   } else {   3620   } else {
3621     3621  
3622   }   3622   }
3623   return (fip);   3623   return (fip);
3624 }   3624 }
3625 }   3625 }
3626 TIFFField const   *TIFFFieldWithName(TIFF *tif , char const   *field_name )   3626 TIFFField const   *TIFFFieldWithName(TIFF *tif , char const   *field_name )
3627 {   3627 {
3628   TIFFField const   *fip ;   3628   TIFFField const   *fip ;
3629   TIFFField const   *tmp ;   3629   TIFFField const   *tmp ;
3630     3630  
3631   {   3631   {
3632   tmp = _TIFFFindFieldByName(tif, field_name, (TIFFDataType )0);   3632   tmp = _TIFFFindFieldByName(tif, field_name, (TIFFDataType )0);
3633   fip = tmp;   3633   fip = tmp;
3634   if (! fip) {   3634   if (! fip) {
3635     TIFFErrorExt(tif->tif_clientdata, "TIFFFieldWithName",   3635     TIFFErrorExt(tif->tif_clientdata, "TIFFFieldWithName",
3636                  "Internal error, unknown tag %s", field_name);   3636                  "Internal error, unknown tag %s", field_name);
3637     if ((unsigned int )fip != (unsigned int )((void *)0)) {   3637     if ((unsigned int )fip != (unsigned int )((void *)0)) {
3638     3638  
3639     } else {   3639     } else {
3640       __assert_fail("fip != ((void *)0)", "tif_dirinfo.c", 538U,   3640       __assert_fail("fip != ((void *)0)", "tif_dirinfo.c", 538U,
3641                     "TIFFFieldWithName");   3641                     "TIFFFieldWithName");
3642     }   3642     }
3643   } else {   3643   } else {
3644     3644  
3645   }   3645   }
3646   return (fip);   3646   return (fip);
3647 }   3647 }
3648 }   3648 }
3649 TIFFField const   *_TIFFFindOrRegisterField(TIFF *tif , uint32 tag ,   3649 TIFFField const   *_TIFFFindOrRegisterField(TIFF *tif , uint32 tag ,
3650                                             TIFFDataType dt )   3650                                             TIFFDataType dt )
3651 {   3651 {
3652   TIFFField const   *fld ;   3652   TIFFField const   *fld ;
3653   TIFFField *tmp ;   3653   TIFFField *tmp ;
3654   int tmp___0 ;   3654   int tmp___0 ;
3655     3655  
3656   {   3656   {
3657   fld = TIFFFindField(tif, tag, dt);   3657   fld = TIFFFindField(tif, tag, dt);
3658   if ((unsigned int )fld == (unsigned int )((void *)0)) {   3658   if ((unsigned int )fld == (unsigned int )((void *)0)) {
3659     tmp = _TIFFCreateAnonField(tif, tag, dt);   3659     tmp = _TIFFCreateAnonField(tif, tag, dt);
3660     fld = (TIFFField const   *)tmp;   3660     fld = (TIFFField const   *)tmp;
3661     tmp___0 = _TIFFMergeFields(tif, fld, (uint32 )1);   3661     tmp___0 = _TIFFMergeFields(tif, fld, (uint32 )1);
3662     if (tmp___0) {   3662     if (tmp___0) {
3663     3663  
3664     } else {   3664     } else {
3665       return ((TIFFField const   *)((void *)0));   3665       return ((TIFFField const   *)((void *)0));
3666     }   3666     }
3667   } else {   3667   } else {
3668     3668  
3669   }   3669   }
3670   return (fld);   3670   return (fld);
3671 }   3671 }
3672 }   3672 }
3673 TIFFField *_TIFFCreateAnonField(TIFF *tif , uint32 tag ,   3673 TIFFField *_TIFFCreateAnonField(TIFF *tif , uint32 tag ,
3674                                 TIFFDataType field_type )   3674                                 TIFFDataType field_type )
3675 {   3675 {
3676   TIFFField *fld ;   3676   TIFFField *fld ;
3677   void *tmp ;   3677   void *tmp ;
3678   void *tmp___0 ;   3678   void *tmp___0 ;
3679     3679  
3680   {   3680   {
3681   tmp = _TIFFmalloc((tmsize_t )sizeof(TIFFField ));   3681   tmp = _TIFFmalloc((tmsize_t )sizeof(TIFFField ));
3682   fld = (TIFFField *)tmp;   3682   fld = (TIFFField *)tmp;
3683   if ((unsigned int )fld == (unsigned int )((void *)0)) {   3683   if ((unsigned int )fld == (unsigned int )((void *)0)) {
3684     return ((TIFFField *)((void *)0));   3684     return ((TIFFField *)((void *)0));
3685   } else {   3685   } else {
3686     3686  
3687   }   3687   }
3688   _TIFFmemset((void *)fld, 0, (tmsize_t )sizeof(TIFFField ));   3688   _TIFFmemset((void *)fld, 0, (tmsize_t )sizeof(TIFFField ));
3689   fld->field_tag = tag;   3689   fld->field_tag = tag;
3690   fld->field_readcount = (short)-3;   3690   fld->field_readcount = (short)-3;
3691   fld->field_writecount = (short)-3;   3691   fld->field_writecount = (short)-3;
3692   fld->field_type = field_type;   3692   fld->field_type = field_type;
3693   fld->reserved = (uint32 )0;   3693   fld->reserved = (uint32 )0;
3694   switch ((unsigned int )field_type) {   3694   switch ((unsigned int )field_type) {
3695   case 7U:   3695   case 7U:
3696   case 1U:   3696   case 1U:
3697   fld->set_field_type = (TIFFSetGetFieldType )40;   3697   fld->set_field_type = (TIFFSetGetFieldType )40;
3698   fld->get_field_type = (TIFFSetGetFieldType )40;   3698   fld->get_field_type = (TIFFSetGetFieldType )40;
3699   break;   3699   break;
3700   case 2U:   3700   case 2U:
3701   fld->set_field_type = (TIFFSetGetFieldType )39;   3701   fld->set_field_type = (TIFFSetGetFieldType )39;
3702   fld->get_field_type = (TIFFSetGetFieldType )39;   3702   fld->get_field_type = (TIFFSetGetFieldType )39;
3703   break;   3703   break;
3704   case 3U:   3704   case 3U:
3705   fld->set_field_type = (TIFFSetGetFieldType )42;   3705   fld->set_field_type = (TIFFSetGetFieldType )42;
3706   fld->get_field_type = (TIFFSetGetFieldType )42;   3706   fld->get_field_type = (TIFFSetGetFieldType )42;
3707   break;   3707   break;
3708   case 4U:   3708   case 4U:
3709   fld->set_field_type = (TIFFSetGetFieldType )44;   3709   fld->set_field_type = (TIFFSetGetFieldType )44;
3710   fld->get_field_type = (TIFFSetGetFieldType )44;   3710   fld->get_field_type = (TIFFSetGetFieldType )44;
3711   break;   3711   break;
3712   case 11U:   3712   case 11U:
3713   case 10U:   3713   case 10U:
3714   case 5U:   3714   case 5U:
3715   fld->set_field_type = (TIFFSetGetFieldType )48;   3715   fld->set_field_type = (TIFFSetGetFieldType )48;
3716   fld->get_field_type = (TIFFSetGetFieldType )48;   3716   fld->get_field_type = (TIFFSetGetFieldType )48;
3717   break;   3717   break;
3718   case 6U:   3718   case 6U:
3719   fld->set_field_type = (TIFFSetGetFieldType )41;   3719   fld->set_field_type = (TIFFSetGetFieldType )41;
3720   fld->get_field_type = (TIFFSetGetFieldType )41;   3720   fld->get_field_type = (TIFFSetGetFieldType )41;
3721   break;   3721   break;
3722   case 8U:   3722   case 8U:
3723   fld->set_field_type = (TIFFSetGetFieldType )43;   3723   fld->set_field_type = (TIFFSetGetFieldType )43;
3724   fld->get_field_type = (TIFFSetGetFieldType )43;   3724   fld->get_field_type = (TIFFSetGetFieldType )43;
3725   break;   3725   break;
3726   case 9U:   3726   case 9U:
3727   fld->set_field_type = (TIFFSetGetFieldType )45;   3727   fld->set_field_type = (TIFFSetGetFieldType )45;
3728   fld->get_field_type = (TIFFSetGetFieldType )45;   3728   fld->get_field_type = (TIFFSetGetFieldType )45;
3729   break;   3729   break;
3730   case 12U:   3730   case 12U:
3731   fld->set_field_type = (TIFFSetGetFieldType )49;   3731   fld->set_field_type = (TIFFSetGetFieldType )49;
3732   fld->get_field_type = (TIFFSetGetFieldType )49;   3732   fld->get_field_type = (TIFFSetGetFieldType )49;
3733   break;   3733   break;
3734   case 18U:   3734   case 18U:
3735   case 13U:   3735   case 13U:
3736   fld->set_field_type = (TIFFSetGetFieldType )50;   3736   fld->set_field_type = (TIFFSetGetFieldType )50;
3737   fld->get_field_type = (TIFFSetGetFieldType )50;   3737   fld->get_field_type = (TIFFSetGetFieldType )50;
3738   break;   3738   break;
3739   case 16U:   3739   case 16U:
3740   fld->set_field_type = (TIFFSetGetFieldType )46;   3740   fld->set_field_type = (TIFFSetGetFieldType )46;
3741   fld->get_field_type = (TIFFSetGetFieldType )46;   3741   fld->get_field_type = (TIFFSetGetFieldType )46;
3742   break;   3742   break;
3743   case 17U:   3743   case 17U:
3744   fld->set_field_type = (TIFFSetGetFieldType )47;   3744   fld->set_field_type = (TIFFSetGetFieldType )47;
3745   fld->get_field_type = (TIFFSetGetFieldType )47;   3745   fld->get_field_type = (TIFFSetGetFieldType )47;
3746   break;   3746   break;
3747   default:   3747   default:
3748   fld->set_field_type = (TIFFSetGetFieldType )0;   3748   fld->set_field_type = (TIFFSetGetFieldType )0;
3749   fld->get_field_type = (TIFFSetGetFieldType )0;   3749   fld->get_field_type = (TIFFSetGetFieldType )0;
3750   break;   3750   break;
3751   }   3751   }
3752   fld->field_bit = (unsigned short)65;   3752   fld->field_bit = (unsigned short)65;
3753   fld->field_oktochange = (unsigned char)1;   3753   fld->field_oktochange = (unsigned char)1;
3754   fld->field_passcount = (unsigned char)1;   3754   fld->field_passcount = (unsigned char)1;
3755   tmp___0 = _TIFFmalloc((tmsize_t )32);   3755   tmp___0 = _TIFFmalloc((tmsize_t )32);
3756   fld->field_name = (char *)tmp___0;   3756   fld->field_name = (char *)tmp___0;
3757   if ((unsigned int )fld->field_name == (unsigned int )((void *)0)) {   3757   if ((unsigned int )fld->field_name == (unsigned int )((void *)0)) {
3758     _TIFFfree((void *)fld);   3758     _TIFFfree((void *)fld);
3759     return ((TIFFField *)((void *)0));   3759     return ((TIFFField *)((void *)0));
3760   } else {   3760   } else {
3761     3761  
3762   }   3762   }
3763   fld->field_subfields = (TIFFFieldArray *)((void *)0);   3763   fld->field_subfields = (TIFFFieldArray *)((void *)0);
3764   sprintf((char */* __restrict  */)fld->field_name,   3764   sprintf((char */* __restrict  */)fld->field_name,
3765           (char const   */* __restrict  */)"Tag %d", (int )tag);   3765           (char const   */* __restrict  */)"Tag %d", (int )tag);
3766   return (fld);   3766   return (fld);
3767 }   3767 }
3768 }   3768 }
3769 static TIFFSetGetFieldType _TIFFSetGetType(TIFFDataType type , short count ,   3769 static TIFFSetGetFieldType _TIFFSetGetType(TIFFDataType type , short count ,
3770                                            unsigned char passcount )   3770                                            unsigned char passcount )
3771 {   3771 {
3772     3772  
3773     3773  
3774   {   3774   {
3775   if ((unsigned int )type == 2U) {   3775   if ((unsigned int )type == 2U) {
3776     if ((int )count == -1) {   3776     if ((int )count == -1) {
3777       if ((int )passcount == 0) {   3777       if ((int )passcount == 0) {
3778         return ((TIFFSetGetFieldType )1);   3778         return ((TIFFSetGetFieldType )1);
3779       } else {   3779       } else {
3780         goto _L___3;   3780         goto _L___3;
3781       }   3781       }
3782     } else {   3782     } else {
3783       goto _L___3;   3783       goto _L___3;
3784     }   3784     }
3785   } else   3785   } else
3786   _L___3: /* CIL Label */   3786   _L___3: /* CIL Label */
3787   _L___2: /* CIL Label */   3787   _L___2: /* CIL Label */
3788   if ((int )count == 1) {   3788   if ((int )count == 1) {
3789     if ((int )passcount == 0) {   3789     if ((int )passcount == 0) {
3790       switch ((unsigned int )type) {   3790       switch ((unsigned int )type) {
3791       case 7U:   3791       case 7U:
3792       case 1U:   3792       case 1U:
3793       return ((TIFFSetGetFieldType )2);   3793       return ((TIFFSetGetFieldType )2);
3794       case 2U:   3794       case 2U:
3795       return ((TIFFSetGetFieldType )1);   3795       return ((TIFFSetGetFieldType )1);
3796       case 3U:   3796       case 3U:
3797       return ((TIFFSetGetFieldType )4);   3797       return ((TIFFSetGetFieldType )4);
3798       case 4U:   3798       case 4U:
3799       return ((TIFFSetGetFieldType )6);   3799       return ((TIFFSetGetFieldType )6);
3800       case 11U:   3800       case 11U:
3801       case 10U:   3801       case 10U:
3802       case 5U:   3802       case 5U:
3803       return ((TIFFSetGetFieldType )10);   3803       return ((TIFFSetGetFieldType )10);
3804       case 6U:   3804       case 6U:
3805       return ((TIFFSetGetFieldType )3);   3805       return ((TIFFSetGetFieldType )3);
3806       case 8U:   3806       case 8U:
3807       return ((TIFFSetGetFieldType )5);   3807       return ((TIFFSetGetFieldType )5);
3808       case 9U:   3808       case 9U:
3809       return ((TIFFSetGetFieldType )7);   3809       return ((TIFFSetGetFieldType )7);
3810       case 12U:   3810       case 12U:
3811       return ((TIFFSetGetFieldType )11);   3811       return ((TIFFSetGetFieldType )11);
3812       case 18U:   3812       case 18U:
3813       case 13U:   3813       case 13U:
3814       return ((TIFFSetGetFieldType )12);   3814       return ((TIFFSetGetFieldType )12);
3815       case 16U:   3815       case 16U:
3816       return ((TIFFSetGetFieldType )8);   3816       return ((TIFFSetGetFieldType )8);
3817       case 17U:   3817       case 17U:
3818       return ((TIFFSetGetFieldType )9);   3818       return ((TIFFSetGetFieldType )9);
3819       default:   3819       default:
3820       return ((TIFFSetGetFieldType )0);   3820       return ((TIFFSetGetFieldType )0);
3821       }   3821       }
3822     } else {   3822     } else {
3823       goto _L___1;   3823       goto _L___1;
3824     }   3824     }
3825   } else   3825   } else
3826   _L___1: /* CIL Label */   3826   _L___1: /* CIL Label */
3827   if ((int )count >= 1) {   3827   if ((int )count >= 1) {
3828     if ((int )passcount == 0) {   3828     if ((int )passcount == 0) {
3829       switch ((unsigned int )type) {   3829       switch ((unsigned int )type) {
3830       case 7U:   3830       case 7U:
3831       case 1U:   3831       case 1U:
3832       return ((TIFFSetGetFieldType )16);   3832       return ((TIFFSetGetFieldType )16);
3833       case 2U:   3833       case 2U:
3834       return ((TIFFSetGetFieldType )15);   3834       return ((TIFFSetGetFieldType )15);
3835       case 3U:   3835       case 3U:
3836       return ((TIFFSetGetFieldType )18);   3836       return ((TIFFSetGetFieldType )18);
3837       case 4U:   3837       case 4U:
3838       return ((TIFFSetGetFieldType )20);   3838       return ((TIFFSetGetFieldType )20);
3839       case 11U:   3839       case 11U:
3840       case 10U:   3840       case 10U:
3841       case 5U:   3841       case 5U:
3842       return ((TIFFSetGetFieldType )24);   3842       return ((TIFFSetGetFieldType )24);
3843       case 6U:   3843       case 6U:
3844       return ((TIFFSetGetFieldType )17);   3844       return ((TIFFSetGetFieldType )17);
3845       case 8U:   3845       case 8U:
3846       return ((TIFFSetGetFieldType )19);   3846       return ((TIFFSetGetFieldType )19);
3847       case 9U:   3847       case 9U:
3848       return ((TIFFSetGetFieldType )21);   3848       return ((TIFFSetGetFieldType )21);
3849       case 12U:   3849       case 12U:
3850       return ((TIFFSetGetFieldType )25);   3850       return ((TIFFSetGetFieldType )25);
3851       case 18U:   3851       case 18U:
3852       case 13U:   3852       case 13U:
3853       return ((TIFFSetGetFieldType )26);   3853       return ((TIFFSetGetFieldType )26);
3854       case 16U:   3854       case 16U:
3855       return ((TIFFSetGetFieldType )22);   3855       return ((TIFFSetGetFieldType )22);
3856       case 17U:   3856       case 17U:
3857       return ((TIFFSetGetFieldType )23);   3857       return ((TIFFSetGetFieldType )23);
3858       default:   3858       default:
3859       return ((TIFFSetGetFieldType )0);   3859       return ((TIFFSetGetFieldType )0);
3860       }   3860       }
3861     } else {   3861     } else {
3862       goto _L___0;   3862       goto _L___0;
3863     }   3863     }
3864   } else   3864   } else
3865   _L___0: /* CIL Label */   3865   _L___0: /* CIL Label */
3866   if ((int )count == -1) {   3866   if ((int )count == -1) {
3867     if ((int )passcount == 1) {   3867     if ((int )passcount == 1) {
3868       switch ((unsigned int )type) {   3868       switch ((unsigned int )type) {
3869       case 7U:   3869       case 7U:
3870       case 1U:   3870       case 1U:
3871       return ((TIFFSetGetFieldType )28);   3871       return ((TIFFSetGetFieldType )28);
3872       case 2U:   3872       case 2U:
3873       return ((TIFFSetGetFieldType )27);   3873       return ((TIFFSetGetFieldType )27);
3874       case 3U:   3874       case 3U:
3875       return ((TIFFSetGetFieldType )30);   3875       return ((TIFFSetGetFieldType )30);
3876       case 4U:   3876       case 4U:
3877       return ((TIFFSetGetFieldType )32);   3877       return ((TIFFSetGetFieldType )32);
3878       case 11U:   3878       case 11U:
3879       case 10U:   3879       case 10U:
3880       case 5U:   3880       case 5U:
3881       return ((TIFFSetGetFieldType )36);   3881       return ((TIFFSetGetFieldType )36);
3882       case 6U:   3882       case 6U:
3883       return ((TIFFSetGetFieldType )29);   3883       return ((TIFFSetGetFieldType )29);
3884       case 8U:   3884       case 8U:
3885       return ((TIFFSetGetFieldType )31);   3885       return ((TIFFSetGetFieldType )31);
3886       case 9U:   3886       case 9U:
3887       return ((TIFFSetGetFieldType )33);   3887       return ((TIFFSetGetFieldType )33);
3888       case 12U:   3888       case 12U:
3889       return ((TIFFSetGetFieldType )37);   3889       return ((TIFFSetGetFieldType )37);
3890       case 18U:   3890       case 18U:
3891       case 13U:   3891       case 13U:
3892       return ((TIFFSetGetFieldType )38);   3892       return ((TIFFSetGetFieldType )38);
3893       case 16U:   3893       case 16U:
3894       return ((TIFFSetGetFieldType )34);   3894       return ((TIFFSetGetFieldType )34);
3895       case 17U:   3895       case 17U:
3896       return ((TIFFSetGetFieldType )35);   3896       return ((TIFFSetGetFieldType )35);
3897       default:   3897       default:
3898       return ((TIFFSetGetFieldType )0);   3898       return ((TIFFSetGetFieldType )0);
3899       }   3899       }
3900     } else {   3900     } else {
3901       goto _L;   3901       goto _L;
3902     }   3902     }
3903   } else   3903   } else
3904   _L: /* CIL Label */   3904   _L: /* CIL Label */
3905   if ((int )count == -3) {   3905   if ((int )count == -3) {
3906     if ((int )passcount == 1) {   3906     if ((int )passcount == 1) {
3907       switch ((unsigned int )type) {   3907       switch ((unsigned int )type) {
3908       case 7U:   3908       case 7U:
3909       case 1U:   3909       case 1U:
3910       return ((TIFFSetGetFieldType )40);   3910       return ((TIFFSetGetFieldType )40);
3911       case 2U:   3911       case 2U:
3912       return ((TIFFSetGetFieldType )39);   3912       return ((TIFFSetGetFieldType )39);
3913       case 3U:   3913       case 3U:
3914       return ((TIFFSetGetFieldType )42);   3914       return ((TIFFSetGetFieldType )42);
3915       case 4U:   3915       case 4U:
3916       return ((TIFFSetGetFieldType )44);   3916       return ((TIFFSetGetFieldType )44);
3917       case 11U:   3917       case 11U:
3918       case 10U:   3918       case 10U:
3919       case 5U:   3919       case 5U:
3920       return ((TIFFSetGetFieldType )48);   3920       return ((TIFFSetGetFieldType )48);
3921       case 6U:   3921       case 6U:
3922       return ((TIFFSetGetFieldType )41);   3922       return ((TIFFSetGetFieldType )41);
3923       case 8U:   3923       case 8U:
3924       return ((TIFFSetGetFieldType )43);   3924       return ((TIFFSetGetFieldType )43);
3925       case 9U:   3925       case 9U:
3926       return ((TIFFSetGetFieldType )45);   3926       return ((TIFFSetGetFieldType )45);
3927       case 12U:   3927       case 12U:
3928       return ((TIFFSetGetFieldType )49);   3928       return ((TIFFSetGetFieldType )49);
3929       case 18U:   3929       case 18U:
3930       case 13U:   3930       case 13U:
3931       return ((TIFFSetGetFieldType )50);   3931       return ((TIFFSetGetFieldType )50);
3932       case 16U:   3932       case 16U:
3933       return ((TIFFSetGetFieldType )46);   3933       return ((TIFFSetGetFieldType )46);
3934       case 17U:   3934       case 17U:
3935       return ((TIFFSetGetFieldType )47);   3935       return ((TIFFSetGetFieldType )47);
3936       default:   3936       default:
3937       return ((TIFFSetGetFieldType )0);   3937       return ((TIFFSetGetFieldType )0);
3938       }   3938       }
3939     } else {   3939     } else {
3940     3940  
3941     }   3941     }
3942   } else {   3942   } else {
3943     3943  
3944   }   3944   }
3945   return ((TIFFSetGetFieldType )0);   3945   return ((TIFFSetGetFieldType )0);
3946 }   3946 }
3947 }   3947 }
3948 int TIFFMergeFieldInfo(TIFF *tif , TIFFFieldInfo const   *info , uint32 n )   3948 int TIFFMergeFieldInfo(TIFF *tif , TIFFFieldInfo const   *info , uint32 n )
3949 {   3949 {
3950   char module[19] ;   3950   char module[19] ;
3951   char reason[17] ;   3951   char reason[17] ;
3952   TIFFField *tp ;   3952   TIFFField *tp ;
3953   uint32 i ;   3953   uint32 i ;
3954   uint32 nfields ;   3954   uint32 nfields ;
3955   void *tmp ;   3955   void *tmp ;
3956   void *tmp___0 ;   3956   void *tmp___0 ;
3957   uint32 tmp___1 ;   3957   uint32 tmp___1 ;
3958   void *tmp___2 ;   3958   void *tmp___2 ;
3959   int tmp___3 ;   3959   int tmp___3 ;
3960     3960  
3961   {   3961   {
3962   module[0] = (char )'T';   3962   module[0] = (char )'T';
3963   module[1] = (char )'I';   3963   module[1] = (char )'I';
3964   module[2] = (char )'F';   3964   module[2] = (char )'F';
3965   module[3] = (char )'F';   3965   module[3] = (char )'F';
3966   module[4] = (char )'M';   3966   module[4] = (char )'M';
3967   module[5] = (char )'e';   3967   module[5] = (char )'e';
3968   module[6] = (char )'r';   3968   module[6] = (char )'r';
3969   module[7] = (char )'g';   3969   module[7] = (char )'g';
3970   module[8] = (char )'e';   3970   module[8] = (char )'e';
3971   module[9] = (char )'F';   3971   module[9] = (char )'F';
3972   module[10] = (char )'i';   3972   module[10] = (char )'i';
3973   module[11] = (char )'e';   3973   module[11] = (char )'e';
3974   module[12] = (char )'l';   3974   module[12] = (char )'l';
3975   module[13] = (char )'d';   3975   module[13] = (char )'d';
3976   module[14] = (char )'I';   3976   module[14] = (char )'I';
3977   module[15] = (char )'n';   3977   module[15] = (char )'n';
3978   module[16] = (char )'f';   3978   module[16] = (char )'f';
3979   module[17] = (char )'o';   3979   module[17] = (char )'o';
3980   module[18] = (char )'\000';   3980   module[18] = (char )'\000';
3981   reason[0] = (char )'f';   3981   reason[0] = (char )'f';
3982   reason[1] = (char )'o';   3982   reason[1] = (char )'o';
3983   reason[2] = (char )'r';   3983   reason[2] = (char )'r';
3984   reason[3] = (char )' ';   3984   reason[3] = (char )' ';
3985   reason[4] = (char )'f';   3985   reason[4] = (char )'f';
3986   reason[5] = (char )'i';   3986   reason[5] = (char )'i';
3987   reason[6] = (char )'e';   3987   reason[6] = (char )'e';
3988   reason[7] = (char )'l';   3988   reason[7] = (char )'l';
3989   reason[8] = (char )'d';   3989   reason[8] = (char )'d';
3990   reason[9] = (char )'s';   3990   reason[9] = (char )'s';
3991   reason[10] = (char )' ';   3991   reason[10] = (char )' ';
3992   reason[11] = (char )'a';   3992   reason[11] = (char )'a';
3993   reason[12] = (char )'r';   3993   reason[12] = (char )'r';
3994   reason[13] = (char )'r';   3994   reason[13] = (char )'r';
3995   reason[14] = (char )'a';   3995   reason[14] = (char )'a';
3996   reason[15] = (char )'y';   3996   reason[15] = (char )'y';
3997   reason[16] = (char )'\000';   3997   reason[16] = (char )'\000';
3998   if (tif->tif_nfieldscompat > 0U) {   3998   if (tif->tif_nfieldscompat > 0U) {
3999     tmp = _TIFFCheckRealloc(tif, (void *)tif->tif_fieldscompat,   3999     tmp = _TIFFCheckRealloc(tif, (void *)tif->tif_fieldscompat,
4000                             (tmsize_t )(tif->tif_nfieldscompat + 1U),   4000                             (tmsize_t )(tif->tif_nfieldscompat + 1U),
4001                             (tmsize_t )sizeof(TIFFFieldArray ),   4001                             (tmsize_t )sizeof(TIFFFieldArray ),
4002                             (char const   *)(reason));   4002                             (char const   *)(reason));
4003     tif->tif_fieldscompat = (TIFFFieldArray *)tmp;   4003     tif->tif_fieldscompat = (TIFFFieldArray *)tmp;
4004   } else {   4004   } else {
4005     tmp___0 = _TIFFCheckMalloc(tif, (tmsize_t )1,   4005     tmp___0 = _TIFFCheckMalloc(tif, (tmsize_t )1,
4006                                (tmsize_t )sizeof(TIFFFieldArray ),   4006                                (tmsize_t )sizeof(TIFFFieldArray ),
4007                                (char const   *)(reason));   4007                                (char const   *)(reason));
4008     tif->tif_fieldscompat = (TIFFFieldArray *)tmp___0;   4008     tif->tif_fieldscompat = (TIFFFieldArray *)tmp___0;
4009   }   4009   }
4010   if (! tif->tif_fieldscompat) {   4010   if (! tif->tif_fieldscompat) {
4011     TIFFErrorExt(tif->tif_clientdata, (char const   *)(module),   4011     TIFFErrorExt(tif->tif_clientdata, (char const   *)(module),
4012                  "Failed to allocate fields array");   4012                  "Failed to allocate fields array");
4013     return (-1);   4013     return (-1);
4014   } else {   4014   } else {
4015     4015  
4016   }   4016   }
4017   tmp___1 = tif->tif_nfieldscompat;   4017   tmp___1 = tif->tif_nfieldscompat;
4018   (tif->tif_nfieldscompat) ++;   4018   (tif->tif_nfieldscompat) ++;
4019   nfields = tmp___1;   4019   nfields = tmp___1;
4020   (tif->tif_fieldscompat + nfields)->type = (TIFFFieldArrayType )2;   4020   (tif->tif_fieldscompat + nfields)->type = (TIFFFieldArrayType )2;
4021   (tif->tif_fieldscompat + nfields)->allocated_size = n;   4021   (tif->tif_fieldscompat + nfields)->allocated_size = n;
4022   (tif->tif_fieldscompat + nfields)->count = n;   4022   (tif->tif_fieldscompat + nfields)->count = n;
4023   tmp___2 = _TIFFCheckMalloc(tif, (tmsize_t )n, (tmsize_t )sizeof(TIFFField ),   4023   tmp___2 = _TIFFCheckMalloc(tif, (tmsize_t )n, (tmsize_t )sizeof(TIFFField ),
4024                              (char const   *)(reason));   4024                              (char const   *)(reason));
4025   (tif->tif_fieldscompat + nfields)->fields = (TIFFField *)tmp___2;   4025   (tif->tif_fieldscompat + nfields)->fields = (TIFFField *)tmp___2;
4026   if (! (tif->tif_fieldscompat + nfields)->fields) {   4026   if (! (tif->tif_fieldscompat + nfields)->fields) {
4027     TIFFErrorExt(tif->tif_clientdata, (char const   *)(module),   4027     TIFFErrorExt(tif->tif_clientdata, (char const   *)(module),
4028                  "Failed to allocate fields array");   4028                  "Failed to allocate fields array");
4029     return (-1);   4029     return (-1);
4030   } else {   4030   } else {
4031     4031  
4032   }   4032   }
4033   tp = (tif->tif_fieldscompat + nfields)->fields;   4033   tp = (tif->tif_fieldscompat + nfields)->fields;
4034   i = (uint32 )0;   4034   i = (uint32 )0;
4035   while (i < n) {   4035   while (i < n) {
4036     tp->field_tag = (uint32 )(info + i)->field_tag;   4036     tp->field_tag = (uint32 )(info + i)->field_tag;
4037     tp->field_readcount = (short )(info + i)->field_readcount;   4037     tp->field_readcount = (short )(info + i)->field_readcount;
4038     tp->field_writecount = (short )(info + i)->field_writecount;   4038     tp->field_writecount = (short )(info + i)->field_writecount;
4039     tp->field_type = (TIFFDataType )(info + i)->field_type;   4039     tp->field_type = (TIFFDataType )(info + i)->field_type;
4040     tp->reserved = (uint32 )0;   4040     tp->reserved = (uint32 )0;
4041     tp->set_field_type = _TIFFSetGetType((TIFFDataType )(info + i)->field_type,   4041     tp->set_field_type = _TIFFSetGetType((TIFFDataType )(info + i)->field_type,
4042                                          (short )(info + i)->field_readcount,   4042                                          (short )(info + i)->field_readcount,
4043                                          (unsigned char )(info + i)->field_passcount);   4043                                          (unsigned char )(info + i)->field_passcount);
4044     tp->get_field_type = _TIFFSetGetType((TIFFDataType )(info + i)->field_type,   4044     tp->get_field_type = _TIFFSetGetType((TIFFDataType )(info + i)->field_type,
4045                                          (short )(info + i)->field_readcount,   4045                                          (short )(info + i)->field_readcount,
4046                                          (unsigned char )(info + i)->field_passcount);   4046                                          (unsigned char )(info + i)->field_passcount);
4047     tp->field_bit = (unsigned short )(info + i)->field_bit;   4047     tp->field_bit = (unsigned short )(info + i)->field_bit;
4048     tp->field_oktochange = (unsigned char )(info + i)->field_oktochange;   4048     tp->field_oktochange = (unsigned char )(info + i)->field_oktochange;
4049     tp->field_passcount = (unsigned char )(info + i)->field_passcount;   4049     tp->field_passcount = (unsigned char )(info + i)->field_passcount;
4050     tp->field_name = (char *)(info + i)->field_name;   4050     tp->field_name = (char *)(info + i)->field_name;
4051     tp->field_subfields = (TIFFFieldArray *)((void *)0);   4051     tp->field_subfields = (TIFFFieldArray *)((void *)0);
4052     tp ++;   4052     tp ++;
4053     i ++;   4053     i ++;
4054   }   4054   }
4055   tmp___3 = _TIFFMergeFields(tif,   4055   tmp___3 = _TIFFMergeFields(tif,
4056                              (TIFFField const   *)(tif->tif_fieldscompat + nfields)->fields,   4056                              (TIFFField const   *)(tif->tif_fieldscompat + nfields)->fields,
4057                              n);   4057                              n);
4058   if (tmp___3) {   4058   if (tmp___3) {
4059     4059  
4060   } else {   4060   } else {
4061     TIFFErrorExt(tif->tif_clientdata, (char const   *)(module),   4061     TIFFErrorExt(tif->tif_clientdata, (char const   *)(module),
4062                  "Setting up field info failed");   4062                  "Setting up field info failed");
4063     return (-1);   4063     return (-1);
4064   }   4064   }
4065   return (0);   4065   return (0);
4066 }   4066 }
4067 }   4067 }
4068 TIFFFieldInfo const   *TIFFFindFieldInfoByName(TIFF *tif ,   4068 TIFFFieldInfo const   *TIFFFindFieldInfoByName(TIFF *tif ,
4069                                                char const   *field_name ,   4069                                                char const   *field_name ,
4070                                                TIFFDataType dt )   4070                                                TIFFDataType dt )
4071 {   4071 {
4072     4072  
4073     4073  
4074   {   4074   {
4075   return ((TIFFFieldInfo const   *)((void *)0));   4075   return ((TIFFFieldInfo const   *)((void *)0));
4076 }   4076 }
4077 }   4077 }
4078 TIFFFieldInfo const   *TIFFFindFieldInfo(TIFF *tif , uint32 tag ,   4078 TIFFFieldInfo const   *TIFFFindFieldInfo(TIFF *tif , uint32 tag ,
4079                                          TIFFDataType dt )   4079                                          TIFFDataType dt )
4080 {   4080 {
4081     4081  
4082     4082  
4083   {   4083   {
4084   return ((TIFFFieldInfo const   *)((void *)0));   4084   return ((TIFFFieldInfo const   *)((void *)0));
4085 }   4085 }
4086 }   4086 }